aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAndrea Arcangeli <[email protected]>2018-01-05 00:18:09 +0000
committerLinus Torvalds <[email protected]>2018-01-05 00:45:09 +0000
commit0cbb4b4f4c44f54af268969b18d8deda63aded59 (patch)
treee4195e9d5425397f557117077d6306eadf94e350 /tools/perf/scripts/python/mem-phys-addr.py
parentmm/sparse.c: wrong allocation for mem_section (diff)
downloadkernel-0cbb4b4f4c44f54af268969b18d8deda63aded59.tar.gz
kernel-0cbb4b4f4c44f54af268969b18d8deda63aded59.zip
userfaultfd: clear the vma->vm_userfaultfd_ctx if UFFD_EVENT_FORK fails
The previous fix in commit 384632e67e08 ("userfaultfd: non-cooperative: fix fork use after free") corrected the refcounting in case of UFFD_EVENT_FORK failure for the fork userfault paths. That still didn't clear the vma->vm_userfaultfd_ctx of the vmas that were set to point to the aborted new uffd ctx earlier in dup_userfaultfd. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Andrea Arcangeli <[email protected]> Reported-by: syzbot <[email protected]> Reviewed-by: Mike Rapoport <[email protected]> Cc: Eric Biggers <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions