loop0: detected capacity change from 0 to 4096 ntfs3: loop0: Different NTFS sector size (2048) and media sector size (512). BUG: sleeping function called from invalid context at include/linux/sched/mm.h:330 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 5113, name: syz.0.0 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 1 lock held by syz.0.0/5113: #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: path_init+0x12a/0x1360 fs/namei.c:2451 CPU: 0 UID: 0 PID: 5113 Comm: syz.0.0 Not tainted 6.12.0-rc1-syzkaller-00306-g27cc6fdf7201 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 __might_resched+0x5d4/0x780 kernel/sched/core.c:8631 might_alloc include/linux/sched/mm.h:330 [inline] slab_pre_alloc_hook mm/slub.c:4036 [inline] slab_alloc_node mm/slub.c:4114 [inline] kmem_cache_alloc_noprof+0x5d/0x2a0 mm/slub.c:4141 ntfs_d_hash+0x1a0/0x420 fs/ntfs3/namei.c:398 link_path_walk+0x92b/0xea0 fs/namei.c:2389 path_parentat fs/namei.c:2627 [inline] __filename_parentat+0x263/0x6f0 fs/namei.c:2651 filename_parentat fs/namei.c:2669 [inline] filename_create+0xf6/0x540 fs/namei.c:4007 do_mkdirat+0xbd/0x3a0 fs/namei.c:4272 __do_sys_mkdirat fs/namei.c:4295 [inline] __se_sys_mkdirat fs/namei.c:4293 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4293 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f15a277dff9 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:00007f15a25ff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f15a2935f80 RCX: 00007f15a277dff9 RDX: 0000000000000000 RSI: 0000000020000100 RDI: ffffffffffffff9c RBP: 00007f15a27f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f15a2935f80 R15: 00007fff8b217c58