loop2: detected capacity change from 0 to 1024 ------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:637! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 7625 Comm: syz.2.969 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_put+0x590/0x59c fs/hfsplus/bnode.c:637 lr : hfsplus_bnode_put+0x590/0x59c fs/hfsplus/bnode.c:637 sp : ffff80001f7e7640 x29: ffff80001f7e7640 x28: 1fffe0001afc2983 x27: dfff800000000000 x26: 1fffe0001d115a3d x25: ffff0000e88ad000 x24: ffff0000cc282000 x23: dfff800000000000 x22: 1fffe0001d1cfb00 x21: 0000000000000000 x20: ffff0000e8e7d880 x19: ffff0000e8e7d800 x18: 0000000000000002 x17: 0000000040000000 x16: ffff8000111bc798 x15: ffff8000088d9630 x14: ffff8000088d94c4 x13: 1ffff0000282e06b x12: 0000000000ff0100 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff800008eb010c x8 : ffff0000ef7cb680 x7 : ffff800008885a00 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800008eafbd8 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_bnode_put+0x590/0x59c fs/hfsplus/bnode.c:637 hfsplus_btree_write+0x2c0/0x6c8 fs/hfsplus/btree.c:308 hfsplus_system_write_inode fs/hfsplus/super.c:136 [inline] hfsplus_write_inode+0x38c/0x4d4 fs/hfsplus/super.c:162 write_inode fs/fs-writeback.c:1495 [inline] __writeback_single_inode+0x560/0x11f0 fs/fs-writeback.c:1705 writeback_single_inode+0x1c0/0x720 fs/fs-writeback.c:1760 sync_inode_metadata+0xa8/0xec fs/fs-writeback.c:2820 hfsplus_file_fsync+0xe0/0x504 fs/hfsplus/inode.c:319 vfs_fsync_range+0x168/0x188 fs/sync.c:188 generic_write_sync include/linux/fs.h:2989 [inline] generic_file_write_iter+0x158/0x1b4 mm/filemap.c:3948 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x7c8/0xa2c fs/read_write.c:594 ksys_write+0x120/0x210 fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:656 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: aa1403e0 97e632a4 17ffff74 97d724be (d4210000) ---[ end trace 05068ec2b25f9684 ]---