BUG: scheduling while atomic: udevd/99/0x00000002 Modules linked in: Preemption disabled at: [] is_module_text_address+0x1a/0x140 kernel/module.c:4811 CPU: 1 PID: 99 Comm: udevd Not tainted 5.15.148-syzkaller-1069047-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 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:0x7f41746a65f4 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:00007ffff449cda8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: fffffffffffffffe RBX: 00005647d1723cd0 RCX: 00007f41746a65f4 RDX: 00007ffff449cdb8 RSI: 00007ffff449d248 RDI: 00000000ffffff9c RBP: 00007ffff449ce48 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffff449d248 R13: 00007ffff449cdb8 R14: 00005647d16f92c0 R15: 0000000000000000