diff options
author | peterz@infradead.org <peterz@infradead.org> | 2023-09-21 13:45:09 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-09-21 20:22:06 +0300 |
commit | 698eb826383616ce0e817d2384da6413d1439fb6 (patch) | |
tree | bd22f2fa7f6a8a57253b9040778f5d12f5c43228 /arch/powerpc/kernel/syscalls/syscall.tbl | |
parent | 5694289ce183bc3336407a78c8c722a0b9208f9b (diff) | |
download | linux-698eb826383616ce0e817d2384da6413d1439fb6.tar.xz |
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
Diffstat (limited to 'arch/powerpc/kernel/syscalls/syscall.tbl')
0 files changed, 0 insertions, 0 deletions