BUG: scheduling while atomic: syz-executor.1/358/0x00000002 Modules linked in: Preemption disabled at: [] spin_lock include/linux/spinlock.h:350 [inline] [] __dentry_kill+0x4c3/0x650 fs/dcache.c:614 CPU: 0 PID: 358 Comm: syz-executor.1 Not tainted 6.1.75-syzkaller-1151067-g0a5aada71cc9 #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/0x1b lib/dump_stack.c:113 __schedule_bug+0x195/0x260 kernel/sched/core.c:5964 schedule_debug kernel/sched/core.c:5991 [inline] __schedule+0xcf7/0x1550 kernel/sched/core.c:6626 schedule+0xc3/0x180 kernel/sched/core.c:6809 exit_to_user_mode_loop+0x4e/0xa0 kernel/entry/common.c:159 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x26/0x140 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:0x7f833b47cd70 Code: 00 00 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d4 e8 10 32 00 00 80 3d 91 31 10 00 00 74 17 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c RSP: 002b:00007ffe74f27b38 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f833b47cd70 RDX: 00007f833b57a878 RSI: 0000007b399acfd8 RDI: 0000000000000003 RBP: 00007ffe74f27b9c R08: 00007ffe74f2749c R09: 00007ffe74f27887 R10: 00007ffe74f274f0 R11: 0000000000000202 R12: 0000000000000032 R13: 000000000000beb6 R14: 000000000000be93 R15: 0000000000000006