BUG: scheduling while atomic: udevd/102/0x00000002 Modules linked in: Preemption disabled at: [] __wake_up_common_lock kernel/sched/wait.c:138 [inline] [] __wake_up_sync_key+0x184/0x3d0 kernel/sched/wait.c:212 CPU: 1 PID: 102 Comm: udevd Not tainted 6.1.75-syzkaller-00112-gaf361f9a1066 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0xcf7/0x1550 kernel/sched/core.c:6622 schedule+0xc3/0x180 kernel/sched/core.c:6805 schedule_hrtimeout_range_clock+0x1ef/0x360 kernel/time/hrtimer.c:2307 schedule_hrtimeout_range+0x2a/0x40 kernel/time/hrtimer.c:2353 ep_poll fs/eventpoll.c:1936 [inline] do_epoll_wait+0x1757/0x1910 fs/eventpoll.c:2320 __do_sys_epoll_wait fs/eventpoll.c:2332 [inline] __se_sys_epoll_wait fs/eventpoll.c:2327 [inline] __x64_sys_epoll_wait+0x253/0x2a0 fs/eventpoll.c:2327 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:0x7fe89f794457 Code: 73 01 c3 48 8b 0d d1 d9 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 e8 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 76 48 8b 15 a2 d9 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffdf8ad9938 EFLAGS: 00000246 ORIG_RAX: 00000000000000e8 RAX: ffffffffffffffda RBX: 00007ffdf8ad9a38 RCX: 00007fe89f794457 RDX: 0000000000000008 RSI: 00007ffdf8ad9a38 RDI: 000000000000000b RBP: 00000000000000cd R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000bb8 R11: 0000000000000246 R12: 0000000000000bb8 R13: 00005567a30a6ee0 R14: 0000000000000000 R15: 0000000000000000