aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-08-23 11:23:44 +0800
committerAndrew Morton <[email protected]>2022-09-11 20:25:57 -0700
commit54f9555d4031d4aeb10651aa9dcb5335f6a05865 (patch)
treeba6dc8827168dbe5964bb3f8571b2263b5e96af4 /tools/perf/scripts/python/libxed.py
parent12f1dbcf8f144c0b8dde7a62fea766f88cb79fc8 (diff)
mm, hwpoison: fix possible use-after-free in mf_dax_kill_procs()
After kill_procs(), tk will be freed without being removed from the to_kill list. In the next iteration, the freed list entry in the to_kill list will be accessed, thus leading to use-after-free issue. Adding list_del() in kill_procs() to fix the issue. Link: https://lkml.kernel.org/r/[email protected] Fixes: c36e20249571 ("mm: introduce mf_dax_kill_procs() for fsdax case") Signed-off-by: Miaohe Lin <[email protected]> Acked-by: Naoya Horiguchi <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions