loop0: detected capacity change from 0 to 16
erofs: (device loop0): mounted with root inode @ nid 36.
erofs: (device loop0): 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: 4321, name: syz.0.17
1 lock held by syz.0.17/4321:
#0: ffff88805c138180 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:822 [inline]
#0: ffff88805c138180 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: filename_create+0x1f2/0x450 fs/namei.c:3843
Preemption disabled at:
[<ffffffff83912457>] kmap_atomic include/linux/highmem-internal.h:196 [inline]
[<ffffffff83912457>] z_erofs_reload_indexes+0x347/0x590 fs/erofs/zmap.c:146
CPU: 1 PID: 4321 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
<TASK>
dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
___might_sleep+0x47c/0x600 kernel/sched/core.c:9658
dput+0x26/0x1a0 fs/dcache.c:877
lookup_one_qstr_excl+0x1d6/0x240 fs/namei.c:1573
filename_create+0x21e/0x450 fs/namei.c:3844
do_mknodat+0x16e/0x620 fs/namei.c:3989
__do_sys_mknod fs/namei.c:4035 [inline]
__se_sys_mknod fs/namei.c:4033 [inline]
__x64_sys_mknod+0x8a/0xa0 fs/namei.c:4033
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:0x7fc57c7c4749
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:00007fff6b1a7628 EFLAGS: 00000246 ORIG_RAX: 0000000000000085
RAX: ffffffffffffffda RBX: 00007fc57ca1afa0 RCX: 00007fc57c7c4749
RDX: 0000000000000000 RSI: 000000000000c000 RDI: 0000200000000080
RBP: 00007fc57c848f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc57ca1afa0 R14: 00007fc57ca1afa0 R15: 0000000000000003
</TASK>
BUG: scheduling while atomic: syz.0.17/4321/0x00000002
no locks held by syz.0.17/4321.
Modules linked in:
Preemption disabled at:
[<ffffffff83912457>] kmap_atomic include/linux/highmem-internal.h:196 [inline]
[<ffffffff83912457>] z_erofs_reload_indexes+0x347/0x590 fs/erofs/zmap.c:146