------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 0 PID: 5610 at kernel/locking/mutex.c:582 __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 Modules linked in: CPU: 0 PID: 5610 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 lr : __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 sp : ffff80001f4d3a20 x29: ffff80001f4d3a90 x28: ffff80000ee2b000 x27: 0000000000000000 x26: 0000000000000000 x25: ffff000113f85c00 x24: 0000000000000002 x23: ffff800008d3efd8 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0001574a2ad8 x18: 0000000000000212 x17: ffff80000bffd6bc x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000012 x12: 0000000000040000 x11: 0000000000003b27 x10: ffff8000188c6000 x9 : 83fd235ab1193400 x8 : 83fd235ab1193400 x7 : 4e5241575f534b43 x6 : ffff80000819545c x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000028 Call trace: __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 diAlloc+0x8c/0x98c fs/jfs/jfs_imap.c:1343 ialloc+0x5c/0x2fc fs/jfs/jfs_inode.c:56 jfs_mkdir+0xf8/0x490 fs/jfs/namei.c:225 vfs_mkdir+0x1f8/0x2b0 fs/namei.c:4013 do_mkdirat+0xe4/0x22c fs/namei.c:4038 __do_sys_mkdirat fs/namei.c:4053 [inline] __se_sys_mkdirat fs/namei.c:4051 [inline] __arm64_sys_mkdirat+0x40/0x54 fs/namei.c:4051 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 irq event stamp: 10203 hardirqs last enabled at (10203): [] mod_objcg_state+0x19c/0x204 mm/memcontrol.c:3158 hardirqs last disabled at (10202): [] mod_objcg_state+0x128/0x204 mm/memcontrol.c:3105 softirqs last enabled at (10146): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (10144): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- ERROR: (device loop1): dbAlloc: the hint is outside the map ERROR: (device loop1): remounting filesystem as read-only ialloc: diAlloc returned -5!