summaryrefslogtreecommitdiff
path: root/net/ethtool/debug.c
diff options
context:
space:
mode:
authorOded Gabbay <ogabbay@kernel.org>2022-01-30 18:39:54 +0300
committerOded Gabbay <ogabbay@kernel.org>2022-02-28 15:22:04 +0300
commit57b6f02fff3e2a8c394bbde6724950d492160356 (patch)
tree65f8380f153d27273ec8e2743ade9de76e3ecf91 /net/ethtool/debug.c
parent2a835946ee49462fc18eb6db9b53be789acaf2e5 (diff)
downloadlinux-57b6f02fff3e2a8c394bbde6724950d492160356.tar.xz
habanalabs: fix use-after-free bug
When the code iterates over the free list of physical pages nodes, it deletes the physical page node which is used as the iterator. Therefore, we need to use the safe version of the iteration to prevent use-after-free. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'net/ethtool/debug.c')
0 files changed, 0 insertions, 0 deletions