loop0: detected capacity change from 0 to 1024
------------[ cut here ]------------
kernel BUG at fs/hfsplus/bnode.c:618!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4825 Comm: syz-executor351 Not tainted 6.1.34-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : hfsplus_bnode_put+0x488/0x494 fs/hfsplus/bnode.c:618
lr : hfsplus_bnode_put+0x488/0x494 fs/hfsplus/bnode.c:618
sp : ffff80001e3672a0
x29: ffff80001e3672a0 x28: dfff800000000000 x27: 00000000000000f8
x26: ffff0000e352b0f8 x25: 1fffe000186b3240 x24: ffff0000dbe3a000
x23: dfff800000000000 x22: 1ffff00003c6ce64 x21: ffff0000c3599280
x20: 0000000000000000 x19: ffff0000c3599200 x18: 1fffe000368b9f76
x17: ffff8000155bd000 x16: ffff80000825f9d8 x15: ffff800008a6912c
x14: 1ffff00002ab80b0 x13: dfff800000000000 x12: 0000000000000001
x11: ff8080000907c744 x10: 0000000000000000 x9 : ffff80000907c744
x8 : ffff0000d450b780 x7 : ffff800008af6e54 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000907c318
x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 hfsplus_bnode_put+0x488/0x494 fs/hfsplus/bnode.c:618
 hfsplus_bmap_alloc+0x564/0x638 fs/hfsplus/btree.c:414
 hfs_bnode_split+0xcc/0xd88 fs/hfsplus/brec.c:245
 hfsplus_brec_insert+0x2d4/0xaa0 fs/hfsplus/brec.c:100
 hfsplus_create_cat+0xa68/0x1330 fs/hfsplus/catalog.c:308
 hfsplus_mknod+0x14c/0x268 fs/hfsplus/dir.c:494
 hfsplus_create+0x38/0x4c fs/hfsplus/dir.c:523
 vfs_create+0x2cc/0x434 fs/namei.c:3115
 do_mknodat+0x314/0x674 fs/namei.c:3965
 __do_sys_mknodat fs/namei.c:3993 [inline]
 __se_sys_mknodat fs/namei.c:3990 [inline]
 __arm64_sys_mknodat+0xb0/0xcc fs/namei.c:3990
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
Code: aa1403e0 97e3c242 17ffffb7 97d1f711 (d4210000) 
---[ end trace 0000000000000000 ]---