loop1: detected capacity change from 0 to 32768
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000234
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=000000015f87a000
[0000000000000234] pgd=080000016c821003, p4d=080000016c821003, pud=080000016740d003, pmd=0000000000000000
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 19902 Comm: syz-executor.1 Not tainted 6.2.0-rc3-syzkaller-16387-g9598c377d828 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : owner_on_cpu include/linux/sched.h:2284 [inline]
pc : rwsem_can_spin_on_owner kernel/locking/rwsem.c:730 [inline]
pc : rwsem_down_write_slowpath+0x7c/0x468 kernel/locking/rwsem.c:1122
lr : rwsem_can_spin_on_owner kernel/locking/rwsem.c:720 [inline]
lr : rwsem_down_write_slowpath+0x64/0x468 kernel/locking/rwsem.c:1122
sp : ffff800014d43730
x29: ffff800014d43780 x28: 0000000000000030 x27: ffff00011d294270
x26: 0000000000000000 x25: ffff80000d559e60 x24: ffff00011e70b400
x23: 0000000000000000 x22: 0000000000000002 x21: 0000000000000001
x20: 0000000000000002 x19: ffff0000c6a465f0 x18: 0000000000000000
x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
x14: 0000000000000002 x13: 0000000000008000 x12: 0000000000040000
x11: 0000000000012278 x10: ffff8000180ec000 x9 : 0000000000000200
x8 : 0000000000000200 x7 : ffff8000087b32c0 x6 : ffff8000081acde4
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000002
x2 : 0000000000000001 x1 : 0000000000000002 x0 : 0000000000000000
Call trace:
 rwsem_can_spin_on_owner kernel/locking/rwsem.c:730 [inline]
 rwsem_down_write_slowpath+0x7c/0x468 kernel/locking/rwsem.c:1122
 __down_write_common kernel/locking/rwsem.c:1305 [inline]
 __down_write kernel/locking/rwsem.c:1314 [inline]
 down_write_nested+0x90/0x94 kernel/locking/rwsem.c:1673
 inode_lock_nested include/linux/fs.h:791 [inline]
 open_xa_root fs/reiserfs/xattr.c:127 [inline]
 open_xa_dir+0x5c/0x2a8 fs/reiserfs/xattr.c:152
 xattr_lookup+0x34/0x198 fs/reiserfs/xattr.c:395
 reiserfs_xattr_get+0x8c/0x6a8 fs/reiserfs/xattr.c:677
 reiserfs_get_acl+0x84/0x1ac fs/reiserfs/xattr_acl.c:215
 __get_acl+0x258/0x3fc fs/posix_acl.c:159
 get_inode_acl+0x34/0x44 fs/posix_acl.c:184
 check_acl+0x40/0x178 fs/namei.c:306
 acl_permission_check fs/namei.c:351 [inline]
 generic_permission+0x284/0x340 fs/namei.c:404
 reiserfs_permission+0x4c/0x6c fs/reiserfs/xattr.c:954
 do_inode_permission fs/namei.c:458 [inline]
 inode_permission+0x128/0x244 fs/namei.c:525
 may_open+0x1e4/0x2bc fs/namei.c:3185
 do_open fs/namei.c:3555 [inline]
 path_openat+0xdd0/0x11f0 fs/namei.c:3714
 do_filp_open+0xdc/0x1b8 fs/namei.c:3741
 do_sys_openat2+0xb8/0x22c fs/open.c:1310
 do_sys_open fs/open.c:1326 [inline]
 __do_sys_openat fs/open.c:1342 [inline]
 __se_sys_openat fs/open.c:1337 [inline]
 __arm64_sys_openat+0xb0/0xe0 fs/open.c:1337
 __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/0x104 arch/arm64/kernel/syscall.c:193
 el0_svc+0x58/0x150 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:584
Code: 927ef528 52800035 b4000108 370000e9 (b9403509) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	927ef528 	and	x8, x9, #0xfffffffffffffffc
   4:	52800035 	mov	w21, #0x1                   	// #1
   8:	b4000108 	cbz	x8, 0x28
   c:	370000e9 	tbnz	w9, #0, 0x28
* 10:	b9403509 	ldr	w9, [x8, #52] <-- trapping instruction