BUG: scheduling while atomic: syz-executor114/437/0x00000002 Modules linked in: Preemption disabled at: [] spin_lock include/linux/spinlock.h:363 [inline] [] d_alloc+0x63/0x1d0 fs/dcache.c:1827 CPU: 1 PID: 437 Comm: syz-executor114 Not tainted 5.15.149-syzkaller-00490-g5d96939590c0 #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/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:0x7fc1ab573847 Code: 7b 00 00 00 48 8d 35 a0 de 04 00 48 8d 3d c1 de 04 00 e8 bc 19 fd ff e8 d7 1e 00 00 0f 1f 80 00 00 00 00 b8 58 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffcdf06d088 EFLAGS: 00000206 ORIG_RAX: 0000000000000058 RAX: 0000000000000000 RBX: 0000000000005f21 RCX: 00007fc1ab573847 RDX: 0000000000000000 RSI: 00007fc1ab5bd0b0 RDI: 00007ffcdf06d100 RBP: 0000000000000000 R08: 0000000000000017 R09: 00007ffcdf06cdd7 R10: 0000000000000000 R11: 0000000000000206 R12: 00007ffcdf06d0ac R13: 00007ffcdf06d0c0 R14: 00007ffcdf06d100 R15: 0000000000000000