------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 0 PID: 6622 at kernel/locking/mutex.c:582 __mutex_lock_common+0x1660/0x21a0 kernel/locking/mutex.c:582 Modules linked in: CPU: 0 PID: 6622 Comm: syz-executor.1 Not tainted 6.1.83-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 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 : ffff80001dfb7400 x29: ffff80001dfb7590 x28: dfff800000000000 x27: 1ffff0000330eafc x26: ffff800019875000 x25: ffff700003bf6e9c x24: 0000000000000000 x23: 0000000000000000 x22: ffff800008dcddd8 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000c38b2028 x18: ffff80001dfb73a0 x17: 0000000000000000 x16: ffff800012151454 x15: 0000000000000002 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000040000 x11: 0000000000002905 x10: ffff800021fd9000 x9 : 1a01374a85ab6300 x8 : 1a01374a85ab6300 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001dfb6cf8 x4 : ffff800015922ae0 x3 : ffff8000085867c0 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: __mutex_lock_common+0x1660/0x21a0 kernel/locking/mutex.c:582 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 reiserfs_lookup+0x130/0x3c4 fs/reiserfs/namei.c:364 __lookup_slow+0x250/0x374 fs/namei.c:1690 lookup_slow+0x60/0x84 fs/namei.c:1707 walk_component+0x280/0x36c fs/namei.c:1998 lookup_last fs/namei.c:2455 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2479 filename_lookup+0x1d4/0x4e0 fs/namei.c:2508 user_path_at_empty+0x5c/0x84 fs/namei.c:2907 user_path_at include/linux/namei.h:57 [inline] path_listxattr fs/xattr.c:825 [inline] __do_sys_listxattr fs/xattr.c:840 [inline] __se_sys_listxattr fs/xattr.c:837 [inline] __arm64_sys_listxattr+0xf4/0x21c fs/xattr.c:837 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 1889 hardirqs last enabled at (1889): [] seqcount_lockdep_reader_access include/linux/seqlock.h:104 [inline] hardirqs last enabled at (1889): [] read_seqbegin+0xe8/0x178 include/linux/seqlock.h:836 hardirqs last disabled at (1888): [] seqcount_lockdep_reader_access include/linux/seqlock.h:101 [inline] hardirqs last disabled at (1888): [] read_seqbegin+0x70/0x178 include/linux/seqlock.h:836 softirqs last enabled at (1864): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (1862): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- ================================================================================ UBSAN: array-index-out-of-bounds in kernel/locking/qspinlock.c:131:9 index 13900 is out of range for type 'unsigned long[8]' CPU: 0 PID: 6622 Comm: syz-executor.1 Tainted: G W 6.1.83-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 ubsan_epilogue lib/ubsan.c:151 [inline] __ubsan_handle_out_of_bounds+0xfc/0x148 lib/ubsan.c:282 decode_tail kernel/locking/qspinlock.c:131 [inline] queued_spin_lock_slowpath+0x9fc/0xe48 kernel/locking/qspinlock.c:471 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x330/0x358 kernel/locking/spinlock_debug.c:115 __raw_spin_lock include/linux/spinlock_api_smp.h:134 [inline] _raw_spin_lock+0x5c/0x6c 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+0x38/0x44 kernel/locking/mutex.c:799 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 reiserfs_lookup+0x130/0x3c4 fs/reiserfs/namei.c:364 __lookup_slow+0x250/0x374 fs/namei.c:1690 lookup_slow+0x60/0x84 fs/namei.c:1707 walk_component+0x280/0x36c fs/namei.c:1998 lookup_last fs/namei.c:2455 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2479 filename_lookup+0x1d4/0x4e0 fs/namei.c:2508 user_path_at_empty+0x5c/0x84 fs/namei.c:2907 user_path_at include/linux/namei.h:57 [inline] path_listxattr fs/xattr.c:825 [inline] __do_sys_listxattr fs/xattr.c:840 [inline] __se_sys_listxattr fs/xattr.c:837 [inline] __arm64_sys_listxattr+0xf4/0x21c fs/xattr.c:837 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 ================================================================================ Unable to handle kernel paging request at virtual address ffff8000157a6fb0 KASAN: probably user-memory-access in range [0x00000000abd37d80-0x00000000abd37d87] 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 CM = 0, WnR = 1 swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000001b19d7000 [ffff8000157a6fb0] pgd=100000023ffff003, p4d=100000023ffff003, pud=100000023fffe003, pmd=100000023fffa003, pte=0000000000000000 Internal error: Oops: 0000000096000047 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 6622 Comm: syz-executor.1 Tainted: G W 6.1.83-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : queued_spin_lock_slowpath+0x3f4/0xe48 kernel/locking/qspinlock.c:474 lr : decode_tail kernel/locking/qspinlock.c:131 [inline] lr : queued_spin_lock_slowpath+0x9fc/0xe48 kernel/locking/qspinlock.c:471 sp : ffff80001dfb7200 x29: ffff80001dfb72a0 x28: 000000000000d937 x27: 1ffff00003bf6e4c x26: dfff800000000000 x25: 1fffe00018716406 x24: 0000000000040000 x23: ffff0001b436ff88 x22: ffff8000157a6fb0 x21: ffff0001b436ff80 x20: 1fffe0003686dff0 x19: ffff0000c38b2030 x18: ffff80001dfb73a0 x17: 3d3d3d3d3d3d3d3d x16: ffff800012151454 x15: 0000000000000002 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000040000 x11: 000000000002a29d x10: ffff8000157a6f80 x9 : 0000000000000003 x8 : 0000000000000000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001dfb6ab8 x4 : ffff800015922ae0 x3 : ffff8000081ae6f0 x2 : 0000000000000001 x1 : 0000000000000004 x0 : ffff0001b436ff88 Call trace: queued_spin_lock_slowpath+0x3f4/0xe48 kernel/locking/qspinlock.c:477 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x330/0x358 kernel/locking/spinlock_debug.c:115 __raw_spin_lock include/linux/spinlock_api_smp.h:134 [inline] _raw_spin_lock+0x5c/0x6c 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+0x38/0x44 kernel/locking/mutex.c:799 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 reiserfs_lookup+0x130/0x3c4 fs/reiserfs/namei.c:364 __lookup_slow+0x250/0x374 fs/namei.c:1690 lookup_slow+0x60/0x84 fs/namei.c:1707 walk_component+0x280/0x36c fs/namei.c:1998 lookup_last fs/namei.c:2455 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2479 filename_lookup+0x1d4/0x4e0 fs/namei.c:2508 user_path_at_empty+0x5c/0x84 fs/namei.c:2907 user_path_at include/linux/namei.h:57 [inline] path_listxattr fs/xattr.c:825 [inline] __do_sys_listxattr fs/xattr.c:840 [inline] __se_sys_listxattr fs/xattr.c:837 [inline] __arm64_sys_listxattr+0xf4/0x21c fs/xattr.c:837 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: aa1603e0 9773bc8b aa1703e0 52800081 (f90002d5) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: aa1603e0 mov x0, x22 4: 9773bc8b bl 0xfffffffffdcef230 8: aa1703e0 mov x0, x23 c: 52800081 mov w1, #0x4 // #4 * 10: f90002d5 str x21, [x22] <-- trapping instruction