BUG: scheduling while atomic: syz-executor151/291/0x00000002 Modules linked in: Preemption disabled at: [] remove_wait_queue+0x26/0x140 kernel/sched/wait.c:55 CPU: 0 PID: 291 Comm: syz-executor151 Not tainted 6.1.68-syzkaller-00022-gb86713e34104 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/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:5960 schedule_debug kernel/sched/core.c:5987 [inline] __schedule+0xce9/0x1540 kernel/sched/core.c:6622 schedule+0xc3/0x180 kernel/sched/core.c:6805 do_nanosleep+0x149/0x580 kernel/time/hrtimer.c:2044 hrtimer_nanosleep+0x1c5/0x3f0 kernel/time/hrtimer.c:2097 common_nsleep+0x91/0xb0 kernel/time/posix-timers.c:1267 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1308 [inline] __se_sys_clock_nanosleep+0x323/0x3b0 kernel/time/posix-timers.c:1285 __x64_sys_clock_nanosleep+0x9b/0xb0 kernel/time/posix-timers.c:1285 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:0x7f7d583ad4c3 Code: 00 00 00 00 00 66 90 83 ff 03 74 7b 83 ff 02 b8 fa ff ff ff 49 89 ca 0f 44 f8 80 3d be 1b 05 00 00 74 14 b8 e6 00 00 00 0f 05 d8 c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 28 48 89 54 24 10 RSP: 002b:00007ffc24c1ca28 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 000000000000013f RCX: 00007f7d583ad4c3 RDX: 00007ffc24c1ca40 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 00007ffc24d24080 R09: 00007ffc24d240b0 R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000501f R13: 00007ffc24c1ca7c R14: 00007ffc24c1ca90 R15: 00007ffc24c1ca80 BUG: scheduling while atomic: syz-executor151/291/0x00000002 Modules linked in: Preemption disabled at: [] remove_wait_queue+0x26/0x140 kernel/sched/wait.c:55 CPU: 1 PID: 291 Comm: syz-executor151 Tainted: G W 6.1.68-syzkaller-00022-gb86713e34104 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/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:5960 schedule_debug kernel/sched/core.c:5987 [inline] __schedule+0xce9/0x1540 kernel/sched/core.c:6622 schedule+0xc3/0x180 kernel/sched/core.c:6805 do_nanosleep+0x149/0x580 kernel/time/hrtimer.c:2044 hrtimer_nanosleep+0x1c5/0x3f0 kernel/time/hrtimer.c:2097 common_nsleep+0x91/0xb0 kernel/time/posix-timers.c:1267 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1308 [inline] __se_sys_clock_nanosleep+0x323/0x3b0 kernel/time/posix-timers.c:1285 __x64_sys_clock_nanosleep+0x9b/0xb0 kernel/time/posix-timers.c:1285 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:0x7f7d583ad4c3 Code: 00 00 00 00 00 66 90 83 ff 03 74 7b 83 ff 02 b8 fa ff ff ff 49 89 ca 0f 44 f8 80 3d be 1b 05 00 00 74 14 b8 e6 00 00 00 0f 05 d8 c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 28 48 89 54 24 10 RSP: 002b:00007ffc24c1ca28 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000000000000154 RCX: 00007f7d583ad4c3 RDX: 00007ffc24c1ca40 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 00007ffc24d24080 R09: 00007ffc24d240b0 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000005295 R13: 00007ffc24c1ca7c R14: 00007ffc24c1ca90 R15: 00007ffc24c1ca80