aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <[email protected]>2022-06-12 21:32:25 +0000
committerKees Cook <[email protected]>2022-06-13 16:54:52 +0000
commit993d0b287e2ef7bee2e8b13b0ce4d2b5066f278e (patch)
tree853081efc2b49076ac29148901f66752393130ae /scripts/clang-tools/gen_compile_commands.py
parentcfi: Fix __cfi_slowpath_diag RCU usage with cpuidle (diff)
downloadkernel-993d0b287e2ef7bee2e8b13b0ce4d2b5066f278e.tar.gz
kernel-993d0b287e2ef7bee2e8b13b0ce4d2b5066f278e.zip
usercopy: Handle vm_map_ram() areas
vmalloc does not allocate a vm_struct for vm_map_ram() areas. That causes us to deny usercopies from those areas. This affects XFS which uses vm_map_ram() for its directories. Fix this by calling find_vmap_area() instead of find_vm_area(). Fixes: 0aef499f3172 ("mm/usercopy: Detect vmalloc overruns") Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Reviewed-by: Uladzislau Rezki (Sony) <[email protected]> Tested-by: Zorro Lang <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions