loop0: detected capacity change from 0 to 32768 ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 0 PID: 11517 at kernel/locking/mutex.c:575 __mutex_lock_common+0x13d0/0x1edc kernel/locking/mutex.c:575 Modules linked in: CPU: 0 PID: 11517 Comm: syz.0.3323 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __mutex_lock_common+0x13d0/0x1edc kernel/locking/mutex.c:575 lr : __mutex_lock_common+0x13d0/0x1edc kernel/locking/mutex.c:575 sp : ffff80001fce73e0 x29: ffff80001fce7520 x28: dfff800000000000 x27: ffff700003f9ce90 x26: 0000000000000000 x25: ffff800008c31f0c x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: ffff80001fce74a0 x20: 0000000000000000 x19: ffff0000dc366e28 x18: 0000000000000001 x17: 0000000000000002 x16: ffff8000111bc798 x15: 00000000ffffffff x14: 0000000000ff0100 x13: 0000000000000001 x12: 0000000000080000 x11: 0000000000002937 x10: ffff800020dc9000 x9 : 63072f7acd4a5e00 x8 : 63072f7acd4a5e00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001fce6cd8 x4 : ffff80001424f400 x3 : ffff80000850433c x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000028 Call trace: __mutex_lock_common+0x13d0/0x1edc kernel/locking/mutex.c:575 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xac/0x11c kernel/locking/mutex.c:743 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 reiserfs_lookup+0x11c/0x378 fs/reiserfs/namei.c:364 __lookup_slow+0x24c/0x380 fs/namei.c:1663 lookup_slow+0x5c/0x80 fs/namei.c:1680 walk_component+0x2b0/0x3a8 fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x180/0x414 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a0 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0xb8/0x25c fs/xattr.c:625 __do_sys_setxattr fs/xattr.c:646 [inline] __se_sys_setxattr fs/xattr.c:642 [inline] __arm64_sys_setxattr+0xbc/0xd8 fs/xattr.c:642 __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+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 84907 hardirqs last enabled at (84907): [] seqcount_lockdep_reader_access include/linux/seqlock.h:105 [inline] hardirqs last enabled at (84907): [] read_seqbegin+0x1fc/0x304 include/linux/seqlock.h:897 hardirqs last disabled at (84906): [] seqcount_lockdep_reader_access include/linux/seqlock.h:102 [inline] hardirqs last disabled at (84906): [] read_seqbegin+0x78/0x304 include/linux/seqlock.h:897 softirqs last enabled at (84882): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (84880): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace a0417f5a618f3bee ]--- ================================================================================ UBSAN: array-index-out-of-bounds in kernel/locking/osq_lock.c:34:9 index 23 is out of range for type 'unsigned long[8]' CPU: 0 PID: 11517 Comm: syz.0.3323 Tainted: G W 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call trace: dump_backtrace+0x0/0x43c arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 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+0xd4/0x108 lib/ubsan.c:282 decode_cpu kernel/locking/osq_lock.c:34 [inline] osq_lock+0x43c/0x48c kernel/locking/osq_lock.c:111 mutex_optimistic_spin+0x1cc/0x2b0 kernel/locking/mutex.c:453 __mutex_lock_common+0x1b4/0x1edc kernel/locking/mutex.c:599 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xac/0x11c kernel/locking/mutex.c:743 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 reiserfs_lookup+0x11c/0x378 fs/reiserfs/namei.c:364 __lookup_slow+0x24c/0x380 fs/namei.c:1663 lookup_slow+0x5c/0x80 fs/namei.c:1680 walk_component+0x2b0/0x3a8 fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x180/0x414 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a0 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0xb8/0x25c fs/xattr.c:625 __do_sys_setxattr fs/xattr.c:646 [inline] __se_sys_setxattr fs/xattr.c:642 [inline] __arm64_sys_setxattr+0xbc/0xd8 fs/xattr.c:642 __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+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/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 ffff8000140d7e70 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=00000002113bb000 [ffff8000140d7e70] pgd=100000023ffff003, p4d=100000023ffff003, pud=100000023fffe003, pmd=100000023fff9003, pte=0000000000000000 Internal error: Oops: 0000000096000047 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 11517 Comm: syz.0.3323 Tainted: G W 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : osq_lock+0x150/0x48c kernel/locking/osq_lock.c:126 lr : decode_cpu kernel/locking/osq_lock.c:34 [inline] lr : osq_lock+0x43c/0x48c kernel/locking/osq_lock.c:111 sp : ffff80001fce7330 x29: ffff80001fce7340 x28: 1fffe0003421b2e1 x27: 1fffe0003421b2e2 x26: 0000000000000000 x25: dfff800000000000 x24: ffff8000140d7700 x23: ffff0001a10d9708 x22: ffff0001a10d9710 x21: ffff8000140d7e70 x20: ffff0001a10d9700 x19: ffff0000dc366e70 x18: 0000000000000002 x17: 0000000000000002 x16: ffff800008185de8 x15: 00000000ffffffff x14: 0000000000ff0100 x13: 0000000000000001 x12: 0000000000080000 x11: 000000000007ffff x10: ffff800020dc9000 x9 : 0000000000000000 x8 : 0000000000000000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001fce6bb8 x4 : ffff80001424f400 x3 : ffff800008185e38 x2 : 0000000000000001 x1 : 0000000000000002 x0 : 00000000ffffffff Call trace: osq_lock+0x150/0x48c kernel/locking/osq_lock.c:126 mutex_optimistic_spin+0x1cc/0x2b0 kernel/locking/mutex.c:453 __mutex_lock_common+0x1b4/0x1edc kernel/locking/mutex.c:599 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xac/0x11c kernel/locking/mutex.c:743 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 reiserfs_lookup+0x11c/0x378 fs/reiserfs/namei.c:364 __lookup_slow+0x24c/0x380 fs/namei.c:1663 lookup_slow+0x5c/0x80 fs/namei.c:1680 walk_component+0x2b0/0x3a8 fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x180/0x414 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a0 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0xb8/0x25c fs/xattr.c:625 __do_sys_setxattr fs/xattr.c:646 [inline] __se_sys_setxattr fs/xattr.c:642 [inline] __arm64_sys_setxattr+0xbc/0xd8 fs/xattr.c:642 __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+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: 38796908 34000068 aa1503e0 9415a0ae (f90002b4) ---[ end trace a0417f5a618f3bef ]--- ---------------- Code disassembly (best guess): 0: 38796908 ldrb w8, [x8, x25] 4: 34000068 cbz w8, 0x10 8: aa1503e0 mov x0, x21 c: 9415a0ae bl 0x5682c4 * 10: f90002b4 str x20, [x21] <-- trapping instruction