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: 5146, name: syz.0.0 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 1 lock held by syz.0.0/5146: #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: 5146 Comm: syz.0.0 Not tainted 6.12.0-rc2-syzkaller #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 kern_path_create+0x35/0x50 fs/namei.c:4067 unix_bind_bsd net/unix/af_unix.c:1277 [inline] unix_bind+0x2df/0xf20 net/unix/af_unix.c:1382 __sys_bind_socket net/socket.c:1838 [inline] __sys_bind+0x22d/0x2d0 net/socket.c:1862 __do_sys_bind net/socket.c:1870 [inline] __se_sys_bind net/socket.c:1868 [inline] __x64_sys_bind+0x7a/0x90 net/socket.c:1868 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:0x7f8b8937dff9 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:00007f8b8a12d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 00007f8b89535f80 RCX: 00007f8b8937dff9 RDX: 000000000000006e RSI: 0000000020003000 RDI: 0000000000000006 RBP: 00007f8b893f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8b89535f80 R15: 00007ffc81469318