loop0: detected capacity change from 0 to 64 BFS-fs: bfs_fill_super(): loop0 is unclean, continuing ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 1 PID: 13536 at kernel/locking/mutex.c:582 __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 Modules linked in: CPU: 1 PID: 13536 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 lr : __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 sp : ffff800013daba10 x29: ffff800013daba80 x28: ffff80000ee2b000 x27: 0000000000000000 x26: 0000000000000000 x25: ffff80000876040c x24: 0000000000000002 x23: ffff80000878a408 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff000108c07e28 x18: 0000000000000197 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000012 x12: 0000000000040000 x11: 000000000000110d x10: ffff800012a25000 x9 : 6945d57dbca95f00 x8 : 6945d57dbca95f00 x7 : 4e5241575f534b43 x6 : ffff80000819545c x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000028 Call trace: __mutex_lock_common+0x4c4/0xca8 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/0x68c 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 arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 irq event stamp: 977 hardirqs last enabled at (977): [] local_daif_restore arch/arm64/include/asm/daifflags.h:75 [inline] hardirqs last enabled at (977): [] el0_svc_common+0x40/0x220 arch/arm64/kernel/syscall.c:107 hardirqs last disabled at (976): [] el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654 softirqs last enabled at (972): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (970): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- Unable to handle kernel NULL pointer dereference at virtual address 000000000000003d Mem abort info: ESR = 0x0000000096000006 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x06: level 2 translation fault Data abort info: ISV = 0, ISS = 0x00000006 CM = 0, WnR = 0 user pgtable: 4k pages, 48-bit VAs, pgdp=0000000141302000 [000000000000003d] pgd=0800000142471003, p4d=0800000142471003, pud=0800000141016003, pmd=0000000000000000 Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 13536 Comm: syz-executor.0 Tainted: G W 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : search_by_key+0x110/0x19d8 fs/reiserfs/stree.c:648 lr : pathrelse fs/reiserfs/stree.c:384 [inline] lr : search_by_key+0xf0/0x19d8 fs/reiserfs/stree.c:641 sp : ffff800013dab920 x29: ffff800013daba60 x28: ffff800013dabc10 x27: 0000000000000000 x26: ffff0000fd150190 x25: ffff80000876040c x24: 0000000000000000 x23: 0000000000000000 x22: ffff0001018de000 x21: 0000000000000001 x20: ffff0001018de000 x19: ffff800013dabb50 x18: 0000000000000197 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000012 x12: 0000000000040000 x11: 0000000000011ac0 x10: ffff800012a25000 x9 : 0000000000000002 x8 : 0000000000000035 x7 : 4e5241575f534b43 x6 : ffff80000878a408 x5 : 0000000000000000 x4 : 0000000000000003 x3 : 0000000000000008 x2 : ffff800013dabc10 x1 : 0000000000000001 x0 : 0000000000000001 Call trace: search_by_key+0x110/0x19d8 fs/reiserfs/stree.c:648 search_by_entry_key+0x44/0x370 fs/reiserfs/namei.c:125 reiserfs_readdir_inode+0x100/0x68c fs/reiserfs/dir.c:98 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 arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 Code: f9433e88 52800049 52800103 f9400508 (b9400901) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: f9433e88 ldr x8, [x20, #1656] 4: 52800049 mov w9, #0x2 // #2 8: 52800103 mov w3, #0x8 // #8 c: f9400508 ldr x8, [x8, #8] * 10: b9400901 ldr w1, [x8, #8] <-- trapping instruction