BUG: scheduling while atomic: udevd/9669/0x00000002 Modules linked in: Preemption disabled at: [] __up_read kernel/locking/rwsem.c:1374 [inline] [] up_read+0x16/0x170 kernel/locking/rwsem.c:1645 CPU: 1 PID: 9669 Comm: udevd Tainted: G W 5.15.148-syzkaller-00718-g993bed180178 #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/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+0x290/0x360 kernel/time/hrtimer.c:2298 schedule_hrtimeout_range+0x2a/0x40 kernel/time/hrtimer.c:2353 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_sys_epoll_wait fs/eventpoll.c:2268 [inline] __se_sys_epoll_wait fs/eventpoll.c:2263 [inline] __x64_sys_epoll_wait+0x253/0x2a0 fs/eventpoll.c:2263 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:0x7fa704587457 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:00007ffc7c0b18b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e8 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa704587457 RDX: 0000000000000004 RSI: 00007ffc7c0b18f8 RDI: 0000000000000005 RBP: 000055bd849c4f10 R08: 0000000000000007 R09: 5b26596b211c9d81 R10: 00000000ffffffff R11: 0000000000000246 R12: 000055bd849c9890 R13: 00007ffc7c0b18f8 R14: 0000000000000008 R15: 000055bd849842c0