loop0: detected capacity change from 0 to 4096 ntfs3: loop0: Different NTFS sector size (4096) and media sector size (512). ntfs3: loop0: Failed to initialize $Extend/$Reparse. BUG: sleeping function called from invalid context at include/linux/sched/mm.h:337 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 4035, name: syz.0.15 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 1 lock held by syz.0.15/4035: #0: ffffffff8418a750 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8418a750 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8418a750 (rcu_read_lock){....}-{1:2}, at: path_init+0x69/0x530 fs/namei.c:2364 CPU: 1 PID: 4035 Comm: syz.0.15 Not tainted 6.10.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x3e/0xe0 lib/dump_stack.c:114 __might_resched+0x1a4/0x1c0 kernel/sched/core.c:10196 might_alloc include/linux/sched/mm.h:337 [inline] slab_pre_alloc_hook mm/slub.c:3890 [inline] slab_alloc_node mm/slub.c:3980 [inline] kmem_cache_alloc_noprof+0x5e/0x330 mm/slub.c:4007 ntfs_d_hash+0x92/0x130 fs/ntfs3/namei.c:400 link_path_walk+0x2e3/0x410 fs/namei.c:2295 path_openat+0x9c/0xd80 fs/namei.c:3803 do_filp_open+0xad/0x150 fs/namei.c:3834 do_sys_openat2+0x7e/0xe0 fs/open.c:1405 do_sys_open fs/open.c:1420 [inline] __do_sys_openat fs/open.c:1436 [inline] __se_sys_openat fs/open.c:1431 [inline] __x64_sys_openat+0x7c/0xa0 fs/open.c:1431 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8d/0x1a0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd668d79ef9 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:00007fd669bb1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fd668f15f80 RCX: 00007fd668d79ef9 RDX: 000000000000275a RSI: 0000000020000240 RDI: ffffffffffffff9c RBP: 00007fd668de793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd668f15f80 R15: 00007fffe5cb7048