loop2: detected capacity change from 0 to 16 erofs: (device loop2): mounted with root inode @ nid 36. erofs: (device loop2): z_erofs_readpage: failed to read, err [-95] BUG: sleeping function called from invalid context at fs/dcache.c:877 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5421, name: syz.2.387 1 lock held by syz.2.387/5421: #0: ffff88805f64c180 (&type->i_mutex_dir_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #0: ffff88805f64c180 (&type->i_mutex_dir_key#10){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3537 [inline] #0: ffff88805f64c180 (&type->i_mutex_dir_key#10){+.+.}-{3:3}, at: path_openat+0x803/0x2fa0 fs/namei.c:3747 Preemption disabled at: [] kmap_atomic include/linux/highmem-internal.h:196 [inline] [] z_erofs_reload_indexes+0x347/0x590 fs/erofs/zmap.c:146 CPU: 1 PID: 5421 Comm: syz.2.387 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 ___might_sleep+0x493/0x610 kernel/sched/core.c:9658 dput+0x26/0x1a0 fs/dcache.c:877 lookup_open fs/namei.c:3482 [inline] open_last_lookups fs/namei.c:3540 [inline] path_openat+0x1207/0x2fa0 fs/namei.c:3747 do_filp_open+0x1e2/0x410 fs/namei.c:3777 do_sys_openat2+0x150/0x4b0 fs/open.c:1255 do_sys_open fs/open.c:1271 [inline] __do_sys_creat fs/open.c:1347 [inline] __se_sys_creat fs/open.c:1341 [inline] __x64_sys_creat+0x8c/0xb0 fs/open.c:1341 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa64d85acb9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa64bab6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fa64dad5fa0 RCX: 00007fa64d85acb9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000300 RBP: 00007fa64d8c8bf7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa64dad6038 R14: 00007fa64dad5fa0 R15: 00007ffee5355f48 BUG: scheduling while atomic: syz.2.387/5421/0x00000002 no locks held by syz.2.387/5421. Modules linked in: Preemption disabled at: [] kmap_atomic include/linux/highmem-internal.h:196 [inline] [] z_erofs_reload_indexes+0x347/0x590 fs/erofs/zmap.c:146