hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 39 at fs/hfsplus/bnode.c:671 hfsplus_bnode_create+0x40c/0x4c8 fs/hfsplus/bnode.c:670 Modules linked in: CPU: 0 PID: 39 Comm: kworker/u4:2 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Workqueue: writeback wb_workfn (flush-7:0) pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_create+0x40c/0x4c8 fs/hfsplus/bnode.c:670 lr : hfsplus_bnode_create+0x40c/0x4c8 fs/hfsplus/bnode.c:670 sp : ffff80001cd86e80 x29: ffff80001cd86ea0 x28: 1ffff000039b0de4 x27: dfff800000000000 x26: 0000000000000000 x25: 0000000000000080 x24: 0000000000000000 x23: ffff0000d67a3c88 x22: 0000000000000000 x21: ffff0000d5f12000 x20: 0000000000000000 x19: ffff0000d67a3c00 x18: ffff800011abbcc0 x17: 0000000000000000 x16: ffff8000082d22e0 x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100 x11: ff00800008309fc0 x10: 0000000000000000 x9 : f4f0e1c43c27e300 x8 : f4f0e1c43c27e300 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001cd86958 x4 : ffff8000151a4820 x3 : ffff80000a84556c x2 : ffff00019f6bcd10 x1 : 0000000100000000 x0 : 0000000000000023 Call trace: hfsplus_bnode_create+0x40c/0x4c8 fs/hfsplus/bnode.c:670 hfsplus_bmap_alloc+0x4e8/0x590 fs/hfsplus/btree.c:415 hfs_btree_inc_height+0xf8/0x8e0 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0x108/0xaa8 fs/hfsplus/brec.c:75 __hfsplus_ext_write_extent+0x278/0x4cc fs/hfsplus/extents.c:107 hfsplus_ext_write_extent_locked fs/hfsplus/extents.c:139 [inline] hfsplus_ext_write_extent+0x154/0x1d4 fs/hfsplus/extents.c:150 hfsplus_write_inode+0x34/0x4c8 fs/hfsplus/super.c:154 write_inode fs/fs-writeback.c:1460 [inline] __writeback_single_inode+0x5e0/0x157c fs/fs-writeback.c:1677 writeback_sb_inodes+0x824/0x1404 fs/fs-writeback.c:1903 wb_writeback+0x400/0xfb0 fs/fs-writeback.c:2077 wb_do_writeback fs/fs-writeback.c:2220 [inline] wb_workfn+0x34c/0xd98 fs/fs-writeback.c:2260 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 irq event stamp: 594684 hardirqs last enabled at (594683): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (594684): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (594662): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (594662): [] handle_softirqs+0xaf8/0xc6c kernel/softirq.c:624 softirqs last disabled at (594651): [] __do_softirq+0x14/0x20 kernel/softirq.c:630 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:716! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 39 Comm: kworker/u4:2 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Workqueue: writeback wb_workfn (flush-7:0) pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hfsplus_bnode_put+0x490/0x49c fs/hfsplus/bnode.c:716 lr : hfsplus_bnode_put+0x490/0x49c fs/hfsplus/bnode.c:716 sp : ffff80001cd86f80 x29: ffff80001cd86f80 x28: 0000000000000000 x27: dfff800000000000 x26: ffff7000039b0e04 x25: ffff80001cd87020 x24: 1fffe0001acf4780 x23: ffff0000d5f12000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000d67a3c80 x19: ffff0000d67a3c00 x18: ffff800011abbcc0 x17: 0000000000000000 x16: ffff8000082e7b1c x15: 0000000000000000 x14: 0000000000000001 x13: 1ffff00002a180b1 x12: 0000000000ff0100 x11: ff00800008f6f150 x10: 0000000000000000 x9 : ffff800008f6f150 x8 : ffff0000c4348000 x7 : ffff800008931288 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800008f6ed1c x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfsplus_bnode_put+0x490/0x49c fs/hfsplus/bnode.c:716 hfs_btree_inc_height+0x48c/0x8e0 fs/hfsplus/brec.c:530 hfsplus_brec_insert+0x108/0xaa8 fs/hfsplus/brec.c:75 __hfsplus_ext_write_extent+0x278/0x4cc fs/hfsplus/extents.c:107 hfsplus_ext_write_extent_locked fs/hfsplus/extents.c:139 [inline] hfsplus_ext_write_extent+0x154/0x1d4 fs/hfsplus/extents.c:150 hfsplus_write_inode+0x34/0x4c8 fs/hfsplus/super.c:154 write_inode fs/fs-writeback.c:1460 [inline] __writeback_single_inode+0x5e0/0x157c fs/fs-writeback.c:1677 writeback_sb_inodes+0x824/0x1404 fs/fs-writeback.c:1903 wb_writeback+0x400/0xfb0 fs/fs-writeback.c:2077 wb_do_writeback fs/fs-writeback.c:2220 [inline] wb_workfn+0x34c/0xd98 fs/fs-writeback.c:2260 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Code: aa1403e0 97e59fd3 17ffffb4 97d4c9d3 (d4210000) ---[ end trace 0000000000000000 ]---