BUG: scheduling while atomic: syz-executor.3/26424/0x00000002 Modules linked in: Preemption disabled at: [] spin_lock include/linux/spinlock.h:350 [inline] [] futex_unqueue+0x4e/0x140 kernel/futex/core.c:601 CPU: 0 PID: 26424 Comm: syz-executor.3 Tainted: G W 6.1.78-syzkaller-00020-gcd89d4fa0722 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106 dump_stack+0x15/0x1b lib/dump_stack.c:113 __schedule_bug+0x195/0x260 kernel/sched/core.c:5975 schedule_debug kernel/sched/core.c:6002 [inline] __schedule+0xcf7/0x1550 kernel/sched/core.c:6637 schedule+0xc3/0x180 kernel/sched/core.c:6820 futex_wait_queue+0xf2/0x250 kernel/futex/waitwake.c:361 futex_wait+0x212/0x7e0 kernel/futex/waitwake.c:664 do_futex+0x55a/0x9a0 kernel/futex/syscalls.c:108 __do_sys_futex kernel/futex/syscalls.c:185 [inline] __se_sys_futex+0x35e/0x3c0 kernel/futex/syscalls.c:166 __x64_sys_futex+0xe5/0x100 kernel/futex/syscalls.c:166 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe961e7cf29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc3239ca18 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00000000002ed8e3 RCX: 00007fe961e7cf29 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fe961fb3f8c RBP: 00000000002ed915 R08: 00007ffc323e50b0 R09: 0000000e00000000 R10: 00007ffc3239cb00 R11: 0000000000000246 R12: 00007ffc3239cb00 R13: 00007fe961fb3f8c R14: 0000000000000032 R15: 00007ffc3239cb20