------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 1 PID: 18000 at kernel/locking/mutex.c:582 __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 Modules linked in: CPU: 1 PID: 18000 Comm: syz-executor.4 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 : ffff800013d1b800 x29: ffff800013d1b870 x28: ffff80000ee2b000 x27: 0007fffffff80000 x26: 0000000000000000 x25: ffff000126c76098 x24: 0000000000000002 x23: ffff800008d3f1b8 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0001115708b8 x18: 000000000000020e x17: ffff80000bffd6bc x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000012 x12: 0000000000040000 x11: 0000000000002419 x10: ffff80001a41b000 x9 : f3a4f0962e373f00 x8 : f3a4f0962e373f00 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+0x26c/0x98c fs/jfs/jfs_imap.c:1378 ialloc+0x5c/0x2fc fs/jfs/jfs_inode.c:56 jfs_create+0xf8/0x488 fs/jfs/namei.c:92 lookup_open fs/namei.c:3413 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0x804/0x11c4 fs/namei.c:3688 do_filp_open+0xdc/0x1b8 fs/namei.c:3718 do_sys_openat2+0xb8/0x22c fs/open.c:1313 do_sys_open fs/open.c:1329 [inline] __do_sys_openat fs/open.c:1345 [inline] __se_sys_openat fs/open.c:1340 [inline] __arm64_sys_openat+0xb0/0xe0 fs/open.c:1340 __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: 9961 hardirqs last enabled at (9961): [] mod_objcg_state+0x19c/0x204 mm/memcontrol.c:3158 hardirqs last disabled at (9960): [] mod_objcg_state+0x128/0x204 mm/memcontrol.c:3105 softirqs last enabled at (9912): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (9910): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- Unable to handle kernel paging request at virtual address ffff80004e0fdc00 Mem abort info: ESR = 0x0000000096000005 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x05: level 1 translation fault Data abort info: ISV = 0, ISS = 0x00000005 CM = 0, WnR = 0 swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000001c566b000 [ffff80004e0fdc00] pgd=100000023ffff003, p4d=100000023ffff003, pud=0000000000000000 Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 18000 Comm: syz-executor.4 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : decode_cpu kernel/locking/osq_lock.c:34 [inline] pc : osq_lock+0x60/0x1f8 kernel/locking/osq_lock.c:111 lr : osq_lock+0x38/0x1f8 kernel/locking/osq_lock.c:94 sp : ffff800013d1b770 x29: ffff800013d1b770 x28: ffff80000ee2b000 x27: ffff80000cb4f733 x26: 0000000000000000 x25: ffff000126c76098 x24: ffff000111570920 x23: ffff800008d3f1b8 x22: ffff80000d272a00 x21: ffff80000d30cf28 x20: ffff0001fefefa00 x19: ffff000111570900 x18: 000000000000020e x17: ffff80000bffd6bc x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000012 x12: 0000000000040000 x11: 00000000000134af x10: ffff80001a41b000 x9 : 0000000000000002 x8 : 00000000081be19b x7 : 4e5241575f534b43 x6 : ffff800008d3f1b8 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : ffff80000ce26a9f x0 : 0000000000000001 Call trace: decode_cpu kernel/locking/osq_lock.c:32 [inline] osq_lock+0x60/0x1f8 kernel/locking/osq_lock.c:111 mutex_optimistic_spin+0x1dc/0x254 kernel/locking/mutex.c:460 __mutex_lock_common+0x1b4/0xca8 kernel/locking/mutex.c:607 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 diAlloc+0x26c/0x98c fs/jfs/jfs_imap.c:1378 ialloc+0x5c/0x2fc fs/jfs/jfs_inode.c:56 jfs_create+0xf8/0x488 fs/jfs/namei.c:92 lookup_open fs/namei.c:3413 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0x804/0x11c4 fs/namei.c:3688 do_filp_open+0xdc/0x1b8 fs/namei.c:3718 do_sys_openat2+0xb8/0x22c fs/open.c:1313 do_sys_open fs/open.c:1329 [inline] __do_sys_openat fs/open.c:1345 [inline] __se_sys_openat fs/open.c:1340 [inline] __arm64_sys_openat+0xb0/0xe0 fs/open.c:1340 __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 Code: d503201f d503201f 340006a8 51000508 (f868daa8) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: d503201f nop 4: d503201f nop 8: 340006a8 cbz w8, 0xdc c: 51000508 sub w8, w8, #0x1 * 10: f868daa8 ldr x8, [x21, w8, sxtw #3] <-- trapping instruction