------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 0 PID: 5086 at kernel/locking/mutex.c:582 __mutex_lock_common+0x504/0xf64 kernel/locking/mutex.c:582 Modules linked in: CPU: 0 PID: 5086 Comm: syz-executor.0 Not tainted 6.2.0-rc7-syzkaller-17907-g2d3827b3f393 #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 : ffff800018e8ba70 x29: ffff800018e8bae0 x28: ffff80000eeb4000 x27: 0000000000000000 x26: 0000000000000000 x25: 000000000000ee01 x24: 0000000000000002 x23: ffff800008771cc4 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff000118cae028 x18: ffff80000bfae9bc x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000012 x12: 0000000000040000 x11: 0000000000003c43 x10: ffff800012f75000 x9 : 34723e63e2210600 x8 : 34723e63e2210600 x7 : 4e5241575f534b43 x6 : ffff80000bf650d4 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_setattr+0x298/0x7e8 fs/reiserfs/inode.c:3284 notify_change+0x730/0x7c8 fs/attr.c:482 chown_common+0x2a8/0x394 fs/open.c:736 do_fchownat+0xec/0x198 fs/open.c:767 __do_sys_fchownat fs/open.c:782 [inline] __se_sys_fchownat fs/open.c:779 [inline] __arm64_sys_fchownat+0x30/0x44 fs/open.c:779 __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: 3337 hardirqs last enabled at (3337): [] seqcount_lockdep_reader_access+0x94/0x12c include/linux/seqlock.h:104 hardirqs last disabled at (3336): [] seqcount_lockdep_reader_access+0x3c/0x12c include/linux/seqlock.h:101 softirqs last enabled at (3302): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (3300): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- Unable to handle kernel NULL pointer dereference at virtual address 0000000000000068 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=0000000158ede000 [0000000000000068] pgd=0800000158f38003, p4d=0800000158f38003, pud=08000001594a4003, pmd=0000000000000000 Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 5086 Comm: syz-executor.0 Tainted: G W 6.2.0-rc7-syzkaller-17907-g2d3827b3f393 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : d_really_is_negative include/linux/dcache.h:466 [inline] pc : open_xa_root fs/reiserfs/xattr.c:124 [inline] pc : open_xa_dir+0x48/0x2b4 fs/reiserfs/xattr.c:152 lr : open_xa_dir+0x34/0x2b4 fs/reiserfs/xattr.c:148 sp : ffff800018e8b9f0 x29: ffff800018e8ba10 x28: ffff80000d3a9e60 x27: 0000000000000000 x26: 0000000000000046 x25: 000000000000ee01 x24: 0000000000000000 x23: 000000000000ee01 x22: ffff800018e8bc80 x21: ffff000112f787b8 x20: 0000000000000002 x19: ffff000118caa000 x18: ffff80000bfae9bc x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000040000 x11: 0000000000016c39 x10: ffff800012f75000 x9 : ffff800008771400 x8 : ffff000118cae000 x7 : 4e5241575f534b43 x6 : ffff800008771cc4 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff800018e8bc80 x1 : 0000000000000002 x0 : ffff000112f787b8 Call trace: open_xa_root fs/reiserfs/xattr.c:121 [inline] open_xa_dir+0x48/0x2b4 fs/reiserfs/xattr.c:152 reiserfs_for_each_xattr+0xc8/0x420 fs/reiserfs/xattr.c:252 reiserfs_chown_xattrs+0x30/0x88 fs/reiserfs/xattr.c:375 reiserfs_setattr+0x5d0/0x7e8 fs/reiserfs/inode.c:3348 notify_change+0x730/0x7c8 fs/attr.c:482 chown_common+0x2a8/0x394 fs/open.c:736 do_fchownat+0xec/0x198 fs/open.c:767 __do_sys_fchownat fs/open.c:782 [inline] __se_sys_fchownat fs/open.c:779 [inline] __arm64_sys_fchownat+0x30/0x44 fs/open.c:779 __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: 390043ff a9007fff f9433e68 f942cd18 (f9403708) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 390043ff strb wzr, [sp, #16] 4: a9007fff stp xzr, xzr, [sp] 8: f9433e68 ldr x8, [x19, #1656] c: f942cd18 ldr x24, [x8, #1432] * 10: f9403708 ldr x8, [x24, #104] <-- trapping instruction