BUG: sleeping function called from invalid context at include/linux/sched/mm.h:330 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 20922, name: syz.0.2076 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 1 lock held by syz.0.2076/20922: #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: path_init+0x6f0/0x1aa0 fs/namei.c:2451 CPU: 1 UID: 0 PID: 20922 Comm: syz.0.2076 Not tainted 6.12.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 __might_resched+0x3c0/0x5e0 kernel/sched/core.c:8631 might_alloc include/linux/sched/mm.h:330 [inline] might_alloc include/linux/sched/mm.h:325 [inline] slab_pre_alloc_hook mm/slub.c:4037 [inline] slab_alloc_node mm/slub.c:4115 [inline] kmem_cache_alloc_noprof+0x27e/0x2f0 mm/slub.c:4142 ntfs_d_hash+0x1ba/0x4d0 fs/ntfs3/namei.c:398 link_path_walk.part.0.constprop.0+0x9c5/0xd40 fs/namei.c:2389 link_path_walk fs/namei.c:2350 [inline] path_parentat+0xaa/0x1b0 fs/namei.c:2627 __filename_parentat+0x1f0/0x630 fs/namei.c:2651 filename_parentat fs/namei.c:2669 [inline] filename_create+0xba/0x530 fs/namei.c:4007 do_mkdirat+0xab/0x3a0 fs/namei.c:4272 __do_sys_mkdir fs/namei.c:4300 [inline] __se_sys_mkdir fs/namei.c:4298 [inline] __x64_sys_mkdir+0xef/0x140 fs/namei.c:4298 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f15b057dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f15b12f1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f15b0735f80 RCX: 00007f15b057dff9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000300 RBP: 00007f15b05f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f15b0735f80 R15: 00007ffeb8e1c3c8