loop2: detected capacity change from 0 to 1024 ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 0 PID: 5718 at kernel/locking/mutex.c:582 __mutex_lock_common+0x504/0xf64 kernel/locking/mutex.c:582 Modules linked in: CPU: 0 PID: 5718 Comm: syz-executor.2 Not tainted 6.2.0-rc7-syzkaller-17891-geaed33698e35 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __mutex_lock_common+0x504/0xf64 kernel/locking/mutex.c:582 lr : __mutex_lock_common+0x504/0xf64 kernel/locking/mutex.c:582 sp : ffff8000151db9e0 x29: ffff8000151dba50 x28: ffff80000eea4000 x27: 0000000000000000 x26: 0000000000000000 x25: ffff8000087471e0 x24: 0000000000000002 x23: ffff800008770d10 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0001170ab028 x18: ffff80000bf9e9bc x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000012 x12: ffff00011e501a00 x11: ff808000081bbb4c x10: 0000000000000000 x9 : 852a6502316e0a00 x8 : 852a6502316e0a00 x7 : 4e5241575f534b43 x6 : ffff80000bf62f94 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000028 Call trace: __mutex_lock_common+0x504/0xf64 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+0x3c/0x64 fs/reiserfs/lock.c:27 reiserfs_readdir_inode+0x9c/0x660 fs/reiserfs/dir.c:79 reiserfs_readdir+0x28/0x38 fs/reiserfs/dir.c:274 iterate_dir+0x114/0x28c __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64 fs/readdir.c:354 [inline] __arm64_sys_getdents64+0x80/0x204 fs/readdir.c:354 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x64/0x178 arch/arm64/kernel/syscall.c:52 el0_svc_common+0xbc/0x180 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x110 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x14c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 4241 hardirqs last enabled at (4241): [] local_daif_restore arch/arm64/include/asm/daifflags.h:75 [inline] hardirqs last enabled at (4241): [] el0_svc_common+0x40/0x180 arch/arm64/kernel/syscall.c:107 hardirqs last disabled at (4240): [] el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 softirqs last enabled at (4236): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (4234): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- Unable to handle kernel paging request at virtual address ffff80000d2c7080 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=00000001c56b1000 [ffff80000d2c7080] pgd=100000023ffff003, p4d=100000023ffff003, pud=100000023fffe003, pmd=100000023fffa003, pte=0000000000000000 Internal error: Oops: 0000000096000047 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 5718 Comm: syz-executor.2 Tainted: G W 6.2.0-rc7-syzkaller-17891-geaed33698e35 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : queued_spin_lock_slowpath+0x20c/0x630 kernel/locking/qspinlock.c:474 lr : trace_contention_begin include/trace/events/lock.h:95 [inline] lr : queued_spin_lock_slowpath+0x16c/0x630 kernel/locking/qspinlock.c:405 sp : ffff8000151db940 x29: ffff8000151db940 x28: ffff80000eea4000 x27: ffff80000cb82f3c x26: 0000000000000000 x25: ffff00011e501a00 x24: ffff0001feff0080 x23: 0000000000000000 x22: ffff80000d35d068 x21: ffff80000d2c7080 x20: 0000000000000001 x19: ffff0001170ab030 x18: ffff80000bf9e9bc x17: 0000000000000000 x16: 0000000000000002 x15: 0000000000000000 x14: 0000000040000000 x13: 0000000000000002 x12: ffff0001feff0088 x11: 0000000000000000 x10: 0000000000080000 x9 : ffff80000d2c7080 x8 : ffff0001feff0080 x7 : 0000000000000000 x6 : ffff80000bf61d8c x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000001 x1 : ffff80000ce5964f x0 : 0000000000000001 Call trace: decode_tail kernel/locking/qspinlock.c:131 [inline] queued_spin_lock_slowpath+0x20c/0x630 kernel/locking/qspinlock.c:471 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x10c/0x110 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+0x2a8/0xf64 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+0x3c/0x64 fs/reiserfs/lock.c:27 reiserfs_readdir_inode+0x9c/0x660 fs/reiserfs/dir.c:79 reiserfs_readdir+0x28/0x38 fs/reiserfs/dir.c:274 iterate_dir+0x114/0x28c __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64 fs/readdir.c:354 [inline] __arm64_sys_getdents64+0x80/0x204 fs/readdir.c:354 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x64/0x178 arch/arm64/kernel/syscall.c:52 el0_svc_common+0xbc/0x180 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x110 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x14c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Code: 9100210c 8b0b06cb 8b2952a9 f85f816b (f8296968) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 9100210c add x12, x8, #0x8 4: 8b0b06cb add x11, x22, x11, lsl #1 8: 8b2952a9 add x9, x21, w9, uxtw #4 c: f85f816b ldur x11, [x11, #-8] * 10: f8296968 str x8, [x11, x9] <-- trapping instruction