BUG: scheduling while atomic: udevd/8524/0x00000002 Modules linked in: Preemption disabled at: [] is_module_text_address+0x1a/0x140 kernel/module.c:4811 CPU: 0 PID: 8524 Comm: udevd 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 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:0x7fab2300a5f4 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:00007ffc5a622658 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: 0000000000000000 RBX: 000000000000000e RCX: 00007fab2300a5f4 RDX: 00007ffc5a622668 RSI: 00007ffc5a622737 RDI: 00000000ffffff9c RBP: 00007ffc5a623770 R08: 0000000000000000 R09: 00007ffc5a623528 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc5a623b98 R13: 0000000000000000 R14: 00007ffc5a623b98 R15: 000055d2526bb2c0