linux-stable/kernel/futex
peterz@infradead.org 698eb82638 futex: Validate futex value against futex size
Ensure the futex value fits in the given futex size. Since this adds a
constraint to an existing syscall, it might possibly change behaviour.

Currently the value would be truncated to a u32 and any high bits
would get silently lost.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230921105247.828934099@noisy.programming.kicks-ass.net
2023-09-21 19:22:06 +02:00
..
core.c Linux 6.6-rc2 2023-09-18 22:17:15 +02:00
futex.h futex: Validate futex value against futex size 2023-09-21 19:22:06 +02:00
Makefile futex: Split out wait/wake 2021-10-07 13:51:11 +02:00
pi.c futex/pi: Fix recursive rt_mutex waiter state 2023-09-20 09:31:14 +02:00
requeue.c futex/pi: Fix recursive rt_mutex waiter state 2023-09-20 09:31:14 +02:00
syscalls.c futex: Validate futex value against futex size 2023-09-21 19:22:06 +02:00
waitwake.c futex: Flag conversion 2023-09-21 19:22:05 +02:00