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: 0 PID: 7065 Comm: syz-executor.0 Not tainted 6.4.0-rc6-syzkaller-00242-g1639fae5132b #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 : ffff80001eaf72c0 x29: ffff80001eaf72c0 x28: dfff800000000000 x27: 00000000000000f8 x26: ffff0000e51010f8 x25: 1fffe00019d162c0 x24: ffff0000e825e000 x23: dfff800000000000 x22: 1ffff00003d5ee68 x21: ffff0000ce8b1680 x20: 0000000000000000 x19: ffff0000ce8b1600 x18: ffff0000e825e018 x17: 0000000000000000 x16: ffff800008261b54 x15: ffff800008a7f830 x14: 1ffff000029ee0a1 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 x8 : ffff0000d7145340 x7 : ffff800008b0a850 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800009096688 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+0x1cc/0x2f0 fs/namei.c:3194 do_mknodat+0x314/0x674 fs/namei.c:4043 __do_sys_mknodat fs/namei.c:4071 [inline] __se_sys_mknodat fs/namei.c:4068 [inline] __arm64_sys_mknodat+0xb0/0xcc fs/namei.c:4068 __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/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x4c/0x15c 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: aa1403e0 97e3c4f8 17ffffb7 97d19f86 (d4210000) ---[ end trace 0000000000000000 ]---