BUG: scheduling while atomic: syz-fuzzer/305/0x00000002 Modules linked in: Preemption disabled at: [] ep_done_scan+0x34/0x3f0 fs/eventpoll.c:628 CPU: 1 PID: 305 Comm: syz-fuzzer Not tainted 5.15.149-syzkaller-00055-g424f92bcbe8f #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/0x17 lib/dump_stack.c:113 __schedule_bug+0x195/0x260 kernel/sched/core.c:5707 schedule_debug kernel/sched/core.c:5734 [inline] __schedule+0xd19/0x1590 kernel/sched/core.c:6402 schedule+0x11f/0x1e0 kernel/sched/core.c:6595 schedule_hrtimeout_range_clock+0x228/0x3a0 kernel/time/hrtimer.c:2314 schedule_hrtimeout_range+0x2a/0x40 kernel/time/hrtimer.c:2361 freezable_schedule_hrtimeout_range include/linux/freezer.h:275 [inline] ep_poll fs/eventpoll.c:1878 [inline] do_epoll_wait+0x1777/0x1a50 fs/eventpoll.c:2256 do_epoll_pwait+0x5c/0x1f0 fs/eventpoll.c:2290 __do_sys_epoll_pwait fs/eventpoll.c:2303 [inline] __se_sys_epoll_pwait fs/eventpoll.c:2297 [inline] __x64_sys_epoll_pwait+0x2b4/0x300 fs/eventpoll.c:2297 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x40720e Code: 48 83 ec 38 e8 13 00 00 00 48 83 c4 38 5d c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 49 89 f2 48 89 fa 48 89 ce 48 89 df 0f 05 <48> 3d 01 f0 ff ff 76 15 48 f7 d8 48 89 c1 48 c7 c0 ff ff ff ff 48 RSP: 002b:000000c000559748 EFLAGS: 00000246 ORIG_RAX: 0000000000000119 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000040720e RDX: 0000000000000080 RSI: 000000c000559818 RDI: 0000000000000004 RBP: 000000c000559790 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000000ce R11: 0000000000000246 R12: 000000c000559820 R13: 000000c000fc478c R14: 000000c0005c96c0 R15: 0000000000000000