Unable to handle kernel NULL pointer dereference at virtual address 0000000000000040
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=000000015aeb9000
[0000000000000040] pgd=080000016e816003, p4d=080000016e816003, pud=080000016e8bc003, pmd=0000000000000000
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 9483 Comm: syz-executor.1 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: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : hfs_find_init+0x24/0xcc fs/hfs/bfind.c:21
lr : hfs_find_init+0x1c/0xcc fs/hfs/bfind.c:16
sp : ffff8000146cb660
x29: ffff8000146cb660 x28: 0000000000000004 x27: ffff000119e1e000
x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000004
x23: ffff00011ccf8090 x22: 0000000000400004 x21: 0000000000000004
x20: ffff8000146cb680 x19: 0000000000000000 x18: ffff80000bfae9bc
x17: 0000000000000000 x16: ffff00012e8fd820 x15: ffff80000dbd2118
x14: ffff00012e8fce00 x13: 00000000ffffffff x12: 0000000000040000
x11: 0000000000016b1d x10: ffff80001a7d0000 x9 : ffff8000088c6bac
x8 : 0000000000016b1e x7 : ffff8000081634cc x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000006 x1 : 0000000000000cc0 x0 : 0000000000000000
Call trace:
 kmalloc include/linux/slab.h:584 [inline]
 hfs_find_init+0x24/0xcc fs/hfs/bfind.c:21
 hfs_ext_read_extent fs/hfs/extent.c:200 [inline]
 hfs_get_block+0x230/0x4b4 fs/hfs/extent.c:366
 block_read_full_folio+0x1a0/0x890 fs/buffer.c:2271
 hfs_read_folio+0x28/0x38 fs/hfs/inode.c:39
 filemap_read_folio+0xac/0x42c mm/filemap.c:2426
 do_read_cache_folio+0x1a4/0x550 mm/filemap.c:3553
 do_read_cache_page+0x48/0x170 mm/filemap.c:3595
 read_cache_page+0x40/0x54 mm/filemap.c:3604
 read_mapping_page include/linux/pagemap.h:755 [inline]
 hfs_btree_open+0x1c4/0x598 fs/hfs/btree.c:78
 hfs_mdb_get+0x590/0x7c8 fs/hfs/mdb.c:199
 hfs_fill_super+0x59c/0x88c fs/hfs/super.c:406
 mount_bdev+0x1b8/0x210 fs/super.c:1359
 hfs_mount+0x44/0x58 fs/hfs/super.c:456
 legacy_get_tree+0x30/0x74 fs/fs_context.c:610
 vfs_get_tree+0x40/0x140 fs/super.c:1489
 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3145
 path_mount+0x348/0x86c fs/namespace.c:3475
 do_mount fs/namespace.c:3488 [inline]
 __do_sys_mount fs/namespace.c:3697 [inline]
 __se_sys_mount fs/namespace.c:3674 [inline]
 __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3674
 __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: aa0003f3 97e74e2e a9017e93 52819801 (b9404268) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	aa0003f3 	mov	x19, x0
   4:	97e74e2e 	bl	0xffffffffff9d38bc
   8:	a9017e93 	stp	x19, xzr, [x20, #16]
   c:	52819801 	mov	w1, #0xcc0                 	// #3264
* 10:	b9404268 	ldr	w8, [x19, #64] <-- trapping instruction