BUG: scheduling while atomic: udevd/346/0x00000002 Modules linked in: Preemption disabled at: [] is_module_text_address+0x1a/0x140 kernel/module.c:4811 CPU: 0 PID: 346 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:0x7fd6d0fd8ee7 Code: f0 ff ff 73 01 c3 48 8b 0d 3e cf 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 fe 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 11 cf 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007ffdc6a2cf68 EFLAGS: 00000202 ORIG_RAX: 00000000000000fe RAX: 000000000000002d RBX: 000056361062df40 RCX: 00007fd6d0fd8ee7 RDX: 0000000000000008 RSI: 0000563610596f70 RDI: 0000000000000007 RBP: 000056361062df40 R08: 0000000000000001 R09: 43b452e2191e6f39 R10: 000000000000010f R11: 0000000000000202 R12: 00005636105ba330 R13: 000056361062cb10 R14: 0000000000000008 R15: 00005636105872c0