loop0: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4990 at fs/hfsplus/bnode.c:642 hfsplus_bnode_create+0x404/0x4c0 fs/hfsplus/bnode.c:641 Modules linked in: CPU: 0 PID: 4990 Comm: syz.0.15 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_create+0x404/0x4c0 fs/hfsplus/bnode.c:641 lr : hfsplus_bnode_create+0x404/0x4c0 fs/hfsplus/bnode.c:641 sp : ffff80001fe26d90 x29: ffff80001fe26da0 x28: 0000000000000000 x27: dfff800000000000 x26: 0000000000000080 x25: dfff800000000000 x24: 0000000000000000 x23: ffff0000cf6d3e88 x22: 0000000000000000 x21: ffff0000d9b44000 x20: 0000000000000000 x19: ffff0000cf6d3e00 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011251998 x15: 00000000ffffffff x14: 0000000000000001 x13: 1fffe000341f1ed7 x12: 0000000000ff0100 x11: 0000000000000000 x10: 0000000000000000 x9 : c9249f3c94a36500 x8 : c9249f3c94a36500 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001fe26698 x4 : ffff80001436f3e0 x3 : ffff80000a75c86c x2 : ffff0001a0f83d50 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x404/0x4c0 fs/hfsplus/bnode.c:641 hfsplus_bmap_alloc+0x614/0x944 fs/hfsplus/btree.c:420 hfs_btree_inc_height+0x108/0x900 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0x118/0xac0 fs/hfsplus/brec.c:75 __hfsplus_ext_write_extent+0x274/0x4a8 fs/hfsplus/extents.c:107 __hfsplus_ext_cache_extent+0x84/0xa84 fs/hfsplus/extents.c:186 hfsplus_ext_read_extent fs/hfsplus/extents.c:218 [inline] hfsplus_file_extend+0x3bc/0x13c0 fs/hfsplus/extents.c:459 hfsplus_get_block+0x334/0x120c fs/hfsplus/extents.c:245 __block_write_begin_int+0x3d8/0x1530 fs/buffer.c:2012 __block_write_begin fs/buffer.c:2062 [inline] block_write_begin fs/buffer.c:2122 [inline] cont_write_begin+0x480/0x688 fs/buffer.c:2471 hfsplus_write_begin+0xa8/0xf8 fs/hfsplus/inode.c:53 generic_perform_write+0x208/0x488 mm/filemap.c:3785 __generic_file_write_iter+0x23c/0x454 mm/filemap.c:3912 generic_file_write_iter+0xb0/0x1b4 mm/filemap.c:3944 call_write_iter include/linux/fs.h:2173 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x590/0xa60 fs/read_write.c:594 ksys_write+0x12c/0x224 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/0x2b0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1d0 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 irq event stamp: 5280 hardirqs last enabled at (5279): [] __up_console_sem+0xb4/0xfc kernel/printk/printk.c:257 hardirqs last disabled at (5280): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (4206): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (4204): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 22063b260d247023 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:689! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 4990 Comm: syz.0.15 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_put+0x540/0x54c fs/hfsplus/bnode.c:689 lr : hfsplus_bnode_put+0x540/0x54c fs/hfsplus/bnode.c:689 sp : ffff80001fe26e80 x29: ffff80001fe26e80 x28: 0000000000000000 x27: dfff800000000000 x26: ffff700003fc4de4 x25: ffff80001fe26f20 x24: ffff0000d9b44000 x23: dfff800000000000 x22: 1fffe00019eda7c0 x21: 0000000000000000 x20: ffff0000cf6d3e80 x19: ffff0000cf6d3e00 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011251998 x15: 00000000ffffffff x14: 0000000000000001 x13: 1fffe00019eda7d0 x12: 0000000000ff0100 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff800008ec1884 x8 : ffff0000ce0dd1c0 x7 : ffff80000888c73c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800008ec13a0 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_bnode_put+0x540/0x54c fs/hfsplus/bnode.c:689 hfs_btree_inc_height+0x49c/0x900 fs/hfsplus/brec.c:530 hfsplus_brec_insert+0x118/0xac0 fs/hfsplus/brec.c:75 __hfsplus_ext_write_extent+0x274/0x4a8 fs/hfsplus/extents.c:107 __hfsplus_ext_cache_extent+0x84/0xa84 fs/hfsplus/extents.c:186 hfsplus_ext_read_extent fs/hfsplus/extents.c:218 [inline] hfsplus_file_extend+0x3bc/0x13c0 fs/hfsplus/extents.c:459 hfsplus_get_block+0x334/0x120c fs/hfsplus/extents.c:245 __block_write_begin_int+0x3d8/0x1530 fs/buffer.c:2012 __block_write_begin fs/buffer.c:2062 [inline] block_write_begin fs/buffer.c:2122 [inline] cont_write_begin+0x480/0x688 fs/buffer.c:2471 hfsplus_write_begin+0xa8/0xf8 fs/hfsplus/inode.c:53 generic_perform_write+0x208/0x488 mm/filemap.c:3785 __generic_file_write_iter+0x23c/0x454 mm/filemap.c:3912 generic_file_write_iter+0xb0/0x1b4 mm/filemap.c:3944 call_write_iter include/linux/fs.h:2173 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x590/0xa60 fs/read_write.c:594 ksys_write+0x12c/0x224 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/0x2b0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1d0 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 97e6087e 17ffff7f 97d6ef47 (d4210000) ---[ end trace 22063b260d247024 ]---