linux/include
Christophe Leroy c733239f8f bpf: Check return from set_memory_rox()
arch_protect_bpf_trampoline() and alloc_new_pack() call
set_memory_rox() which can fail, leading to unprotected memory.

Take into account return from set_memory_rox() function and add
__must_check flag to arch_protect_bpf_trampoline().

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/fe1c163c83767fde5cab31d209a4a6be3ddb3a73.1710574353.git.christophe.leroy@csgroup.eu
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
2024-03-18 14:18:47 -07:00
..
acpi
asm-generic hardening updates for v6.9-rc1 2024-03-12 14:49:30 -07:00
clocksource
crypto
drm A moderatly busy cycle for development this time around. 2024-03-12 15:18:34 -07:00
dt-bindings ARM: SoC drivers for 6.9 2024-03-12 10:35:24 -07:00
keys
kunit
kvm
linux bpf: Check return from set_memory_rox() 2024-03-18 14:18:47 -07:00
math-emu
media
memory
misc
net Networking changes for 6.9. 2024-03-12 17:44:08 -07:00
pcmcia
ras
rdma
rv
scsi
soc
sound
target
trace Networking changes for 6.9. 2024-03-12 17:44:08 -07:00
uapi Networking changes for 6.9. 2024-03-12 17:44:08 -07:00
ufs
vdso
video
xen