BUG: scheduling while atomic: udevd/3002/0x00000002 no locks held by udevd/3002. Modules linked in: Preemption disabled at: [] rcu_read_lock_sched include/linux/rcupdate.h:849 [inline] [] fd_install+0x50/0x540 fs/file.c:607 Kernel panic - not syncing: scheduling while atomic: panic_on_warn set ... CPU: 0 PID: 3002 Comm: udevd Not tainted 6.1.77-syzkaller #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+0x1e3/0x2cb lib/dump_stack.c:106 panic+0x318/0x75d kernel/panic.c:339 check_panic_on_warn+0x7e/0xa0 kernel/panic.c:235 __schedule_bug+0x1ba/0x220 kernel/sched/core.c:5788 schedule_debug kernel/sched/core.c:5817 [inline] __schedule+0x14ed/0x4550 kernel/sched/core.c:6452 schedule+0xbf/0x180 kernel/sched/core.c:6634 exit_to_user_mode_loop+0x44/0x100 kernel/entry/common.c:159 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff60e9169a4 Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fff460edf30 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: 000000000000000c RBX: 0000000000000004 RCX: 00007ff60e9169a4 RDX: 0000000000080241 RSI: 00007fff460ee368 RDI: 00000000ffffff9c RBP: 00007fff460ee368 R08: 0000000000000004 R09: 0000000000000001 R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000080241 R13: 0000557fa838072e R14: 0000000000000001 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..