------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 0 PID: 11636 at kernel/locking/mutex.c:582 __mutex_lock_common+0x1660/0x21a0 kernel/locking/mutex.c:582
Modules linked in:
CPU: 0 PID: 11636 Comm: syz-executor.5 Not tainted 6.7.0-rc6-syzkaller-gaafe7ad77b91 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __mutex_lock_common+0x1660/0x21a0 kernel/locking/mutex.c:582
lr : __mutex_lock_common+0x1660/0x21a0 kernel/locking/mutex.c:582
sp : ffff80009abe7320
x29: ffff80009abe74b0 x28: dfff800000000000 x27: 1ffff000125470e8
x26: ffff800092a38000 x25: ffff70001357ce80 x24: 0000000000000000
x23: 0000000000000000 x22: ffff800080e5ad08 x21: 0000000000000000
x20: 0000000000000000 x19: ffff00011300c828 x18: 1fffe000368261ce
x17: ffff80008e4ed000 x16: ffff80008a829b6c x15: 0000000000000001
x14: 1fffe000368289b0 x13: 0000000000000000 x12: 0000000000000000
x11: ffff80009abdffff x10: 0000000000ff0100 x9 : 7801dc1695e9bb00
x8 : 7801dc1695e9bb00 x7 : 1fffe000368261cf x6 : ffff80008028df50
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000
x2 : ffff000134468000 x1 : 0000000000000000 x0 : ffff80008028dff0
Call trace:
 __mutex_lock_common+0x1660/0x21a0 kernel/locking/mutex.c:582
 __mutex_lock kernel/locking/mutex.c:747 [inline]
 mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:799
 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27
 reiserfs_lookup+0x128/0x45c fs/reiserfs/namei.c:364
 lookup_open fs/namei.c:3455 [inline]
 open_last_lookups fs/namei.c:3546 [inline]
 path_openat+0xc90/0x2888 fs/namei.c:3776
 do_filp_open+0x1bc/0x3cc fs/namei.c:3809
 do_sys_openat2+0x124/0x1b8 fs/open.c:1437
 do_sys_open fs/open.c:1452 [inline]
 __do_sys_openat fs/open.c:1468 [inline]
 __se_sys_openat fs/open.c:1463 [inline]
 __arm64_sys_openat+0x1f0/0x240 fs/open.c:1463
 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155
 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595
irq event stamp: 8341
hardirqs last  enabled at (8341): [<ffff8000809df4c4>] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:242
hardirqs last disabled at (8340): [<ffff8000809df35c>] kasan_quarantine_put+0x38/0x1c8 mm/kasan/quarantine.c:215
softirqs last  enabled at (8334): [<ffff80008002189c>] softirq_handle_end kernel/softirq.c:399 [inline]
softirqs last  enabled at (8334): [<ffff80008002189c>] __do_softirq+0xac8/0xce4 kernel/softirq.c:582
softirqs last disabled at (8311): [<ffff80008002aadc>] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81
---[ end trace 0000000000000000 ]---
================================================================================
UBSAN: array-index-out-of-bounds in kernel/locking/qspinlock.c:131:9
index 3416 is out of range for type 'unsigned long[8]'
CPU: 1 PID: 11636 Comm: syz-executor.5 Tainted: G        W          6.7.0-rc6-syzkaller-gaafe7ad77b91 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Call trace:
 dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:291
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:298
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106
 dump_stack+0x1c/0x28 lib/dump_stack.c:113
 ubsan_epilogue lib/ubsan.c:217 [inline]
 __ubsan_handle_out_of_bounds+0xfc/0x148 lib/ubsan.c:348
 decode_tail kernel/locking/qspinlock.c:131 [inline]
 queued_spin_lock_slowpath+0x944/0xcf8 kernel/locking/qspinlock.c:471
 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline]
 do_raw_spin_lock+0x320/0x348 kernel/locking/spinlock_debug.c:115
 __raw_spin_lock include/linux/spinlock_api_smp.h:134 [inline]
 _raw_spin_lock+0x50/0x60 kernel/locking/spinlock.c:154
 __mutex_lock_common+0x394/0x21a0 kernel/locking/mutex.c:617
 __mutex_lock kernel/locking/mutex.c:747 [inline]
 mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:799
 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27
 reiserfs_lookup+0x128/0x45c fs/reiserfs/namei.c:364
 lookup_open fs/namei.c:3455 [inline]
 open_last_lookups fs/namei.c:3546 [inline]
 path_openat+0xc90/0x2888 fs/namei.c:3776
 do_filp_open+0x1bc/0x3cc fs/namei.c:3809
 do_sys_openat2+0x124/0x1b8 fs/open.c:1437
 do_sys_open fs/open.c:1452 [inline]
 __do_sys_openat fs/open.c:1468 [inline]
 __se_sys_openat fs/open.c:1463 [inline]
 __arm64_sys_openat+0x1f0/0x240 fs/open.c:1463
 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155
 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595
================================================================================
Unable to handle kernel paging request at virtual address ffff80008e45bbc0
KASAN: probably user-memory-access in range [0x00000004722dde00-0x00000004722dde07]
Mem abort info:
  ESR = 0x0000000096000047
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x07: level 3 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000047, ISS2 = 0x00000000
  CM = 0, WnR = 1, TnD = 0, TagAccess = 0
  GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000001af25e000
[ffff80008e45bbc0] pgd=100000023ffff003, p4d=100000023ffff003, pud=100000023fffe003, pmd=100000023fff9003, pte=0000000000000000
Internal error: Oops: 0000000096000047 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 11636 Comm: syz-executor.5 Tainted: G        W          6.7.0-rc6-syzkaller-gaafe7ad77b91 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : queued_spin_lock_slowpath+0x3c8/0xcf8 kernel/locking/qspinlock.c:474
lr : decode_tail kernel/locking/qspinlock.c:131 [inline]
lr : queued_spin_lock_slowpath+0x944/0xcf8 kernel/locking/qspinlock.c:471
sp : ffff80009abe7120
x29: ffff80009abe71c0 x28: 0000000000003564 x27: 1ffff0001357ce30
x26: dfff800000000000 x25: 1fffe00022601906 x24: 0000000000080000
x23: ffff0001b4167bc8 x22: ffff80008e45bbc0 x21: ffff0001b4167bc0
x20: 1fffe0003682cf78 x19: ffff00011300c830 x18: 1fffe0003682a5ce
x17: 3d3d3d3d3d3d3d3d x16: ffff80008a776f40 x15: ffff7000122a4e88
x14: 1ffff000122a4e88 x13: 0000000000000004 x12: ffffffffffffffff
x11: 0000000000040000 x10: ffff80008e45bbc0 x9 : 0000000000000000
x8 : 0000000000000000 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80009abe69d8 x4 : ffff80008e5d20c0 x3 : ffff8000801b8080
x2 : 0000000000000001 x1 : 0000000000000004 x0 : ffff0001b4167bc8
Call trace:
 queued_spin_lock_slowpath+0x3c8/0xcf8 kernel/locking/qspinlock.c:477
 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline]
 do_raw_spin_lock+0x320/0x348 kernel/locking/spinlock_debug.c:115
 __raw_spin_lock include/linux/spinlock_api_smp.h:134 [inline]
 _raw_spin_lock+0x50/0x60 kernel/locking/spinlock.c:154
 __mutex_lock_common+0x394/0x21a0 kernel/locking/mutex.c:617
 __mutex_lock kernel/locking/mutex.c:747 [inline]
 mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:799
 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27
 reiserfs_lookup+0x128/0x45c fs/reiserfs/namei.c:364
 lookup_open fs/namei.c:3455 [inline]
 open_last_lookups fs/namei.c:3546 [inline]
 path_openat+0xc90/0x2888 fs/namei.c:3776
 do_filp_open+0x1bc/0x3cc fs/namei.c:3809
 do_sys_openat2+0x124/0x1b8 fs/open.c:1437
 do_sys_open fs/open.c:1452 [inline]
 __do_sys_openat fs/open.c:1468 [inline]
 __se_sys_openat fs/open.c:1463 [inline]
 __arm64_sys_openat+0x1f0/0x240 fs/open.c:1463
 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155
 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595
Code: aa1603e0 97583514 aa1703e0 52800081 (f90002d5) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	aa1603e0 	mov	x0, x22
   4:	97583514 	bl	0xfffffffffd60d454
   8:	aa1703e0 	mov	x0, x23
   c:	52800081 	mov	w1, #0x4                   	// #4
* 10:	f90002d5 	str	x21, [x22] <-- trapping instruction