------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 1 PID: 28404 at kernel/locking/mutex.c:582 __mutex_lock_common+0x1468/0x1f3c kernel/locking/mutex.c:582 Modules linked in: CPU: 1 PID: 28404 Comm: syz.1.11101 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/02/2026 pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : __mutex_lock_common+0x1468/0x1f3c kernel/locking/mutex.c:582 lr : __mutex_lock_common+0x1468/0x1f3c kernel/locking/mutex.c:582 sp : ffff800021957420 x29: ffff800021957570 x28: ffff70000432ae98 x27: 0000000000000000 x26: 0000000000000000 x25: 1fffe0001f4102b3 x24: 0000000000000000 x23: dfff800000000000 x22: ffff800008d12f1c x21: ffff8000219574e0 x20: 0000000000000000 x19: ffff0000c49bb028 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800011b8ee98 x15: 0000000000000002 x14: 0000000000000001 x13: 1fffe00033e769a3 x12: 0000000000080000 x11: 0000000000002dcc x10: ffff80002285c000 x9 : 1002f5042fc06a00 x8 : 1002f5042fc06a00 x7 : fffffffffffd5940 x6 : fffffffffffd5920 x5 : ffff800021956eb8 x4 : ffff80001543cdf8 x3 : ffff800008540378 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: __mutex_lock_common+0x1468/0x1f3c 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+0x144/0x3c4 fs/reiserfs/namei.c:364 __lookup_slow+0x25c/0x38c fs/namei.c:1698 lookup_slow+0x60/0x84 fs/namei.c:1715 walk_component+0x278/0x374 fs/namei.c:2006 lookup_last fs/namei.c:2463 [inline] path_lookupat+0x168/0x3f0 fs/namei.c:2487 filename_lookup+0x1d4/0x490 fs/namei.c:2516 user_path_at_empty+0x5c/0x84 fs/namei.c:2913 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3418 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount fs/namespace.c:3606 [inline] __arm64_sys_mount+0x468/0x5a0 fs/namespace.c:3606 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 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: 1853 hardirqs last enabled at (1853): [] seqcount_lockdep_reader_access include/linux/seqlock.h:104 [inline] hardirqs last enabled at (1853): [] read_seqbegin+0xe8/0x174 include/linux/seqlock.h:893 hardirqs last disabled at (1852): [] seqcount_lockdep_reader_access include/linux/seqlock.h:101 [inline] hardirqs last disabled at (1852): [] read_seqbegin+0x70/0x174 include/linux/seqlock.h:893 softirqs last enabled at (1830): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (1828): [] 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 13872 is out of range for type 'unsigned long[8]' CPU: 1 PID: 28404 Comm: syz.1.11101 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/02/2026 Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 ubsan_epilogue+0x14/0x48 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xd0/0xf8 lib/ubsan.c:282 decode_tail kernel/locking/qspinlock.c:131 [inline] queued_spin_lock_slowpath+0x8a8/0xc14 kernel/locking/qspinlock.c:471 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x2f4/0x2f8 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+0x38c/0x1f3c 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+0x144/0x3c4 fs/reiserfs/namei.c:364 __lookup_slow+0x25c/0x38c fs/namei.c:1698 lookup_slow+0x60/0x84 fs/namei.c:1715 walk_component+0x278/0x374 fs/namei.c:2006 lookup_last fs/namei.c:2463 [inline] path_lookupat+0x168/0x3f0 fs/namei.c:2487 filename_lookup+0x1d4/0x490 fs/namei.c:2516 user_path_at_empty+0x5c/0x84 fs/namei.c:2913 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3418 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount fs/namespace.c:3606 [inline] __arm64_sys_mount+0x468/0x5a0 fs/namespace.c:3606 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 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 ================================================================================ ================================================================== BUG: KASAN: use-after-free in queued_spin_lock_slowpath+0x590/0xc14 kernel/locking/qspinlock.c:474 Write of size 8 at addr ffff000025dec570 by task syz.1.11101/28404 CPU: 1 PID: 28404 Comm: syz.1.11101 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/02/2026 Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0xfc mm/kasan/report.c:524 __asan_report_store8_noabort+0x2c/0x38 mm/kasan/report_generic.c:356 queued_spin_lock_slowpath+0x590/0xc14 kernel/locking/qspinlock.c:474 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x2f4/0x2f8 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+0x38c/0x1f3c 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+0x144/0x3c4 fs/reiserfs/namei.c:364 __lookup_slow+0x25c/0x38c fs/namei.c:1698 lookup_slow+0x60/0x84 fs/namei.c:1715 walk_component+0x278/0x374 fs/namei.c:2006 lookup_last fs/namei.c:2463 [inline] path_lookupat+0x168/0x3f0 fs/namei.c:2487 filename_lookup+0x1d4/0x490 fs/namei.c:2516 user_path_at_empty+0x5c/0x84 fs/namei.c:2913 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3418 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount fs/namespace.c:3606 [inline] __arm64_sys_mount+0x468/0x5a0 fs/namespace.c:3606 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 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 The buggy address belongs to the physical page: page:00000000d5e538a1 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x65dec flags: 0x1ffc00000000000(node=0|zone=0|lastcpupid=0x7ff) raw: 01ffc00000000000 fffffc0000977b08 fffffc0000977b08 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff000025dec400: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff000025dec480: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff000025dec500: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff000025dec580: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff000025dec600: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================