aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2023-01-20 10:03:20 +0000
committerGreg Kroah-Hartman <[email protected]>2023-01-21 15:14:17 +0000
commit739790605705ddcf18f21782b9c99ad7d53a8c11 (patch)
tree8d357b05077c04b9100fd0835cd6dac2bd1040f0 /scripts/clang-tools/gen_compile_commands.py
parentdriver core: Fix test_async_probe_init saves device in wrong array (diff)
downloadkernel-739790605705ddcf18f21782b9c99ad7d53a8c11.tar.gz
kernel-739790605705ddcf18f21782b9c99ad7d53a8c11.zip
prlimit: do_prlimit needs to have a speculation check
do_prlimit() adds the user-controlled resource value to a pointer that will subsequently be dereferenced. In order to help prevent this codepath from being used as a spectre "gadget" a barrier needs to be added after checking the range. Reported-by: Jordy Zomer <[email protected]> Tested-by: Jordy Zomer <[email protected]> Suggested-by: Linus Torvalds <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions