BUG: scheduling while atomic: udevd/100/0x00000002 Modules linked in: Preemption disabled at: [] is_module_text_address+0x1a/0x140 kernel/module.c:4811 CPU: 1 PID: 100 Comm: udevd Not tainted 5.15.149-syzkaller-1069109-g5d96939590c0 #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/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 exit_to_user_mode_loop+0x4d/0xe0 kernel/entry/common.c:163 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x26/0x160 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fb9b71e75f4 Code: 64 c7 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 10 48 8b 15 03 a8 0d 00 f7 d8 41 83 c8 RSP: 002b:00007ffd178bec28 EFLAGS: 00000202 ORIG_RAX: 0000000000000106 RAX: 0000000000000000 RBX: 000055ed8e3603e0 RCX: 00007fb9b71e75f4 RDX: 00007ffd178bec40 RSI: 00007fb9b7284130 RDI: 000000000000000e RBP: 000055ed8e37dbd0 R08: 0000000000090800 R09: 000055ed8e32a680 R10: 0000000000001000 R11: 0000000000000202 R12: 00007ffd178bec40 R13: 00000000000000fe R14: 000055ed8c6fd1c4 R15: 0000000000000000