loop0: detected capacity change from 0 to 32768 find_entry called with index = 0 read_mapping_page failed! ERROR: (device loop0): txCommit: BUG: sleeping function called from invalid context at fs/dcache.c:897 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5609, name: syz-executor.0 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by syz-executor.0/5609: #0: ffff88802a094460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff88806e073d00 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff88806e073d00 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3808 #2: ffffffff8d3041f8 (jfsTxnLock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:350 [inline] #2: ffffffff8d3041f8 (jfsTxnLock){+.+.}-{2:2}, at: txBegin+0xa8/0x6d0 fs/jfs/jfs_txnmgr.c:357 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 5609 Comm: syz-executor.0 Not tainted 6.3.0-rc3-syzkaller-00012-g17214b70a159-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 __might_resched+0x5cf/0x780 kernel/sched/core.c:10058 dput+0x40/0x420 fs/dcache.c:897 done_path_create fs/namei.c:3857 [inline] do_linkat+0x2fd/0x9e0 fs/namei.c:4596 __do_sys_linkat fs/namei.c:4621 [inline] __se_sys_linkat fs/namei.c:4618 [inline] __x64_sys_linkat+0xdd/0xf0 fs/namei.c:4618 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f14b288c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f14b3652168 EFLAGS: 00000246 ORIG_RAX: 0000000000000109 RAX: ffffffffffffffda RBX: 00007f14b29abf80 RCX: 00007f14b288c0f9 RDX: 0000000000000004 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007f14b28e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000080 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc29036edf R14: 00007f14b3652300 R15: 0000000000022000 BUG: scheduling while atomic: syz-executor.0/5609/0x00000002 1 lock held by syz-executor.0/5609: #0: ffffffff8d3041f8 (jfsTxnLock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:350 [inline] #0: ffffffff8d3041f8 (jfsTxnLock){+.+.}-{2:2}, at: txBegin+0xa8/0x6d0 fs/jfs/jfs_txnmgr.c:357 Modules linked in: Preemption disabled at: [<0000000000000000>] 0x0