futex_wake_op: syz.5.9856 tries to shift op by -1; fix this program ================================================================== BUG: KCSAN: data-race in _prb_read_valid / prb_reserve write to 0xffffffff868c2928 of 88 bytes by task 29 on cpu 0: prb_reserve+0x696/0xaf0 kernel/printk/printk_ringbuffer.c:1635 vprintk_store+0x56d/0x860 kernel/printk/printk.c:2326 vprintk_emit+0x178/0x650 kernel/printk/printk.c:2426 vprintk_default+0x26/0x30 kernel/printk/printk.c:2465 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2475 kauditd_printk_skb kernel/audit.c:546 [inline] kauditd_hold_skb+0x1b1/0x1c0 kernel/audit.c:581 kauditd_send_queue+0x270/0x2c0 kernel/audit.c:766 kauditd_thread+0x421/0x630 kernel/audit.c:890 kthread+0x486/0x510 kernel/kthread.c:463 ret_from_fork+0xda/0x150 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 read to 0xffffffff868c2928 of 8 bytes by task 12923 on cpu 1: desc_read kernel/printk/printk_ringbuffer.c:486 [inline] desc_read_finalized_seq kernel/printk/printk_ringbuffer.c:1874 [inline] prb_read kernel/printk/printk_ringbuffer.c:1922 [inline] _prb_read_valid+0x1c4/0x920 kernel/printk/printk_ringbuffer.c:2113 prb_read_valid+0x3c/0x60 kernel/printk/printk_ringbuffer.c:2185 printk_get_next_message+0xc8/0x510 kernel/printk/printk.c:3005 console_emit_next_record kernel/printk/printk.c:3092 [inline] console_flush_all+0x290/0x730 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xa1/0x330 kernel/printk/printk.c:3325 vprintk_emit+0x388/0x650 kernel/printk/printk.c:2450 vprintk_default+0x26/0x30 kernel/printk/printk.c:2465 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2475 futex_atomic_op_inuser kernel/futex/waitwake.c:216 [inline] futex_wake_op+0x95d/0xa20 kernel/futex/waitwake.c:273 do_futex+0x348/0x380 kernel/futex/syscalls.c:113 __do_sys_futex kernel/futex/syscalls.c:179 [inline] __se_sys_futex+0x2ed/0x360 kernel/futex/syscalls.c:160 __x64_sys_futex+0x78/0x90 kernel/futex/syscalls.c:160 x64_sys_call+0x2e39/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:203 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000000027c5 -> 0x00000000000047c5 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 12923 Comm: syz.5.9856 Tainted: G W 6.16.0-syzkaller-11952-g6e64f4580381 #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ==================================================================