loop4: detected capacity change from 0 to 1024 ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 1 PID: 5453 at kernel/locking/mutex.c:575 __mutex_lock_common+0x1614/0x2154 kernel/locking/mutex.c:575 Modules linked in: CPU: 1 PID: 5453 Comm: syz.4.277 Not tainted 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __mutex_lock_common+0x1614/0x2154 kernel/locking/mutex.c:575 lr : __mutex_lock_common+0x1614/0x2154 kernel/locking/mutex.c:575 sp : ffff80001ff67300 x29: ffff80001ff67490 x28: dfff800000000000 x27: 1ffff000036fd59c x26: ffff80001b7ea000 x25: ffff700003fece7c x24: 0000000000000000 x23: 0000000000000000 x22: ffff800008d17880 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000d5eff028 x18: 0000000000000001 x17: 0000000000000002 x16: ffff800011b5ac80 x15: 00000000ffffffff x14: ffff0000c0df9b40 x13: 0000000000000001 x12: 0000000000080000 x11: 000000000000285f x10: ffff800025e39000 x9 : ed032c0e86622500 x8 : ed032c0e86622500 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001ff66a78 x4 : ffff800014c4fe40 x3 : ffff800008557710 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000028 Call trace: __mutex_lock_common+0x1614/0x2154 kernel/locking/mutex.c:575 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xa4/0xf8 kernel/locking/mutex.c:743 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 reiserfs_lookup+0x130/0x3c4 fs/reiserfs/namei.c:364 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3352 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount fs/namespace.c:3540 [inline] __arm64_sys_mount+0x4dc/0x5e0 fs/namespace.c:3540 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 5417 hardirqs last enabled at (5417): [] seqcount_lockdep_reader_access include/linux/seqlock.h:105 [inline] hardirqs last enabled at (5417): [] read_seqbegin+0x208/0x30c include/linux/seqlock.h:897 hardirqs last disabled at (5416): [] seqcount_lockdep_reader_access include/linux/seqlock.h:102 [inline] hardirqs last disabled at (5416): [] read_seqbegin+0x74/0x30c include/linux/seqlock.h:897 softirqs last enabled at (5410): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (5410): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (5359): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (5359): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (5359): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (5359): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 927e6672686233ea ]--- ================================================================================ UBSAN: array-index-out-of-bounds in kernel/locking/qspinlock.c:130:9 index 14886 is out of range for type 'unsigned long[8]' CPU: 0 PID: 5453 Comm: syz.4.277 Tainted: G W 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 ubsan_epilogue lib/ubsan.c:151 [inline] __ubsan_handle_out_of_bounds+0x108/0x15c lib/ubsan.c:282 decode_tail kernel/locking/qspinlock.c:130 [inline] queued_spin_lock_slowpath+0x854/0x938 kernel/locking/qspinlock.c:468 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x334/0x35c kernel/locking/spinlock_debug.c:115 __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_lock+0xb8/0x10c kernel/locking/spinlock.c:154 __mutex_lock_common+0x380/0x2154 kernel/locking/mutex.c:608 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xa4/0xf8 kernel/locking/mutex.c:743 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 reiserfs_lookup+0x130/0x3c4 fs/reiserfs/namei.c:364 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3352 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount fs/namespace.c:3540 [inline] __arm64_sys_mount+0x4dc/0x5e0 fs/namespace.c:3540 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 ================================================================================ Unable to handle kernel paging request at virtual address 0047b5adacef2a1a Mem abort info: ESR = 0x0000000096000004 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x04: level 0 translation fault Data abort info: ISV = 0, ISS = 0x00000004 CM = 0, WnR = 0 [0047b5adacef2a1a] address between user and kernel address ranges Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 5453 Comm: syz.4.277 Tainted: G W 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : queued_spin_lock_slowpath+0x354/0x938 kernel/locking/qspinlock.c:471 lr : decode_tail kernel/locking/qspinlock.c:130 [inline] lr : queued_spin_lock_slowpath+0x854/0x938 kernel/locking/qspinlock.c:468 sp : ffff80001ff670e0 x29: ffff80001ff67180 x28: 1ffff00003fece28 x27: 0000000000000000 x26: dfff800000000000 x25: ffff700003fece20 x24: 0000000000040000 x23: a241ad6d677950d3 x22: ffff0001b4187708 x21: ffff0001b4187700 x20: ffff800014ad7710 x19: ffff0000d5eff030 x18: 0000000000000003 x17: 0000000000000002 x16: ffff800008336cf0 x15: 00000000ffffffff x14: ffff0000c0df9b40 x13: 0000000000000001 x12: 0000000000080000 x11: 000000000001f6b0 x10: ffff800014ad7700 x9 : 0000000000000001 x8 : 144835adacef2a1a x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001ff667d8 x4 : ffff800014c4fe40 x3 : ffff80000819cb88 x2 : 0000000000000001 x1 : 0000000000000002 x0 : 00000000ffffffff Call trace: queued_spin_lock_slowpath+0x354/0x938 kernel/locking/qspinlock.c:471 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x334/0x35c kernel/locking/spinlock_debug.c:115 __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_lock+0xb8/0x10c kernel/locking/spinlock.c:154 __mutex_lock_common+0x380/0x2154 kernel/locking/mutex.c:608 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xa4/0xf8 kernel/locking/mutex.c:743 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 reiserfs_lookup+0x130/0x3c4 fs/reiserfs/namei.c:364 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3352 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount fs/namespace.c:3540 [inline] __arm64_sys_mount+0x4dc/0x5e0 fs/namespace.c:3540 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: 94174b9f f94002e8 8b140117 d343fee8 (387a6908) ---[ end trace 927e6672686233eb ]--- ---------------- Code disassembly (best guess): 0: 94174b9f bl 0x5d2e7c 4: f94002e8 ldr x8, [x23] 8: 8b140117 add x23, x8, x20 c: d343fee8 lsr x8, x23, #3 * 10: 387a6908 ldrb w8, [x8, x26] <-- trapping instruction