bcachefs (loop0): flushing journal and stopping allocators, journal seq 12
Unable to handle kernel paging request at virtual address dfff800000000013
KASAN: null-ptr-deref in range [0x0000000000000098-0x000000000000009f]
Mem abort info:
  ESR = 0x0000000096000005
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x05: level 1 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000
  CM = 0, WnR = 0, TnD = 0, TagAccess = 0
  GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[dfff800000000013] address between user and kernel address ranges
Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 UID: 0 PID: 6422 Comm: syz-executor Not tainted 6.13.0-rc7-syzkaller-g1950a0af2d55 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btree_path_lock_root fs/bcachefs/btree_iter.c:732 [inline]
pc : bch2_btree_path_traverse_one+0x738/0x2b30 fs/bcachefs/btree_iter.c:1183
lr : btree_path_lock_root fs/bcachefs/btree_iter.c:728 [inline]
lr : bch2_btree_path_traverse_one+0x714/0x2b30 fs/bcachefs/btree_iter.c:1183
sp : ffff8000a1244c00
x29: ffff8000a1244ee0 x28: ffff0000fb9014d8 x27: ffff0000d16ec378
x26: 000000000000110b x25: 1fffe0001f72029b x24: 0000000000000000
x23: ffff8000a1244d60 x22: dfff800000000000 x21: ffff0000fb900000
x20: 0000000000000098 x19: 0000000000000000 x18: ffff8000a1245120
x17: 32686362204e494d x16: ffff80008b60aec8 x15: 0000000000000005
x14: 0000000000000000 x13: 0000000000000003 x12: ffff0000ec590000
x11: ffff8000a1244d80 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : 0000000000000013 x7 : 0000000000000000 x6 : 0000000100000000
x5 : ffff0000d16ec378 x4 : 0000000000000000 x3 : ffff800082907760
x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 btree_path_lock_root fs/bcachefs/btree_iter.c:732 [inline] (P)
 bch2_btree_path_traverse_one+0x738/0x2b30 fs/bcachefs/btree_iter.c:1183 (P)
 bch2_btree_path_traverse fs/bcachefs/btree_iter.h:247 [inline]
 __bch2_btree_iter_peek fs/bcachefs/btree_iter.c:2210 [inline]
 bch2_btree_iter_peek_upto+0xafc/0x54f8 fs/bcachefs/btree_iter.c:2310
 bch2_btree_iter_peek_upto_type fs/bcachefs/btree_iter.h:685 [inline]
 bch2_bucket_alloc_freelist fs/bcachefs/alloc_foreground.c:495 [inline]
 bch2_bucket_alloc_trans+0x8b4/0x25e4 fs/bcachefs/alloc_foreground.c:648
 bch2_bucket_alloc_set_trans+0x4ac/0xa10 fs/bcachefs/alloc_foreground.c:808
 __open_bucket_add_buckets+0x1168/0x1a68 fs/bcachefs/alloc_foreground.c:1057
 open_bucket_add_buckets+0x2d8/0x3b4 fs/bcachefs/alloc_foreground.c:1101
 bch2_alloc_sectors_start_trans+0xa84/0x199c
 __bch2_btree_node_alloc fs/bcachefs/btree_update_interior.c:339 [inline]
 bch2_btree_reserve_get+0x500/0xf70 fs/bcachefs/btree_update_interior.c:549
 bch2_btree_update_start+0xe14/0x15ac fs/bcachefs/btree_update_interior.c:1247
 bch2_btree_split_leaf+0x118/0x7b0 fs/bcachefs/btree_update_interior.c:1856
 bch2_trans_commit_error+0x2a8/0x1130 fs/bcachefs/btree_trans_commit.c:942
 __bch2_trans_commit+0x2a80/0x6604 fs/bcachefs/btree_trans_commit.c:1140
 bch2_trans_commit fs/bcachefs/btree_update.h:184 [inline]
 wb_flush_one_slowpath+0x114/0x158 fs/bcachefs/btree_write_buffer.c:129
 wb_flush_one+0xdb0/0x1638 fs/bcachefs/btree_write_buffer.c:183
 bch2_btree_write_buffer_flush_locked+0x1394/0x2c9c fs/bcachefs/btree_write_buffer.c:379
 btree_write_buffer_flush_seq+0x1104/0x1254 fs/bcachefs/btree_write_buffer.c:517
 bch2_btree_write_buffer_flush_going_ro+0x134/0x1ec fs/bcachefs/btree_write_buffer.c:556
 __bch2_fs_read_only+0x114/0x3e4 fs/bcachefs/super.c:275
 bch2_fs_read_only+0x930/0xf00 fs/bcachefs/super.c:356
 __bch2_fs_stop+0x104/0x570 fs/bcachefs/super.c:621
 bch2_put_super+0x40/0x50 fs/bcachefs/fs.c:2050
 generic_shutdown_super+0x12c/0x2bc fs/super.c:642
 bch2_kill_sb+0x40/0x58 fs/bcachefs/fs.c:2278
 deactivate_locked_super+0xc4/0x12c fs/super.c:473
 deactivate_super+0xe0/0x100 fs/super.c:506
 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1373
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1380
 task_work_run+0x230/0x2e0 kernel/task_work.c:239
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151
 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline]
 el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:745
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600
Code: 97896fc4 f9400398 91026314 d343fe88 (38f66908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	97896fc4 	bl	0xfffffffffe25bf10
   4:	f9400398 	ldr	x24, [x28]
   8:	91026314 	add	x20, x24, #0x98
   c:	d343fe88 	lsr	x8, x20, #3
* 10:	38f66908 	ldrsb	w8, [x8, x22] <-- trapping instruction