hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1611 at fs/hfs/bnode.c:520 hfs_bnode_create+0x40c/0x4c4 fs/hfs/bnode.c:519 Modules linked in: CPU: 1 PID: 1611 Comm: kworker/u4:4 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/26/2026 Workqueue: writeback wb_workfn (flush-7:1) pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_create+0x40c/0x4c4 fs/hfs/bnode.c:519 lr : hfs_bnode_create+0x40c/0x4c4 fs/hfs/bnode.c:519 sp : ffff800025c36d40 x29: ffff800025c36d60 x28: ffff700004b86dbc x27: dfff800000000000 x26: 0000000000000080 x25: 0000000000000000 x24: ffff0000ca25de88 x23: dfff800000000000 x22: 0000000000000000 x21: ffff0000d0414000 x20: 0000000000000000 x19: ffff0000ca25de00 x18: ffff800011b8bf60 x17: 0000000000000000 x16: ffff8000082d91a4 x15: 0000000000000000 x14: 0000000000000001 x13: 1ffff00004b86d10 x12: 0000000000ff0100 x11: ff00800008311550 x10: 0000000000000000 x9 : cb9d3d48bc962d00 x8 : cb9d3d48bc962d00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800025c36818 x4 : ffff8000152f4cc0 x3 : ffff80000a88d9f0 x2 : ffff00019f564d10 x1 : 0000000100000000 x0 : 000000000000001f Call trace: hfs_bnode_create+0x40c/0x4c4 fs/hfs/bnode.c:519 hfs_bmap_alloc+0x4fc/0x5ac fs/hfs/btree.c:291 hfs_btree_inc_height+0x108/0x890 fs/hfs/brec.c:490 hfs_brec_insert+0x5c4/0x97c fs/hfs/brec.c:148 __hfs_ext_write_extent+0x22c/0x484 fs/hfs/extent.c:124 hfs_ext_write_extent+0x154/0x1e0 fs/hfs/extent.c:144 hfs_write_inode+0xf0/0x8dc fs/hfs/inode.c:434 write_inode fs/fs-writeback.c:1470 [inline] __writeback_single_inode+0x5e0/0x1554 fs/fs-writeback.c:1687 writeback_sb_inodes+0x858/0x143c fs/fs-writeback.c:1913 wb_writeback+0x414/0xfcc fs/fs-writeback.c:2087 wb_do_writeback fs/fs-writeback.c:2230 [inline] wb_workfn+0x360/0xe18 fs/fs-writeback.c:2270 process_one_work+0x7f8/0x13a4 kernel/workqueue.c:2292 worker_thread+0x8c4/0xfec 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: 118876 hardirqs last enabled at (118875): [] __up_console_sem+0xb4/0xfc kernel/printk/printk.c:261 hardirqs last disabled at (118876): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (118612): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (118612): [] batadv_forw_packet_steal+0x11c/0x13c net/batman-adv/send.c:-1 softirqs last disabled at (118610): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (118610): [] batadv_forw_packet_steal+0x38/0x13c net/batman-adv/send.c:577 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:565! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 1611 Comm: kworker/u4:4 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/26/2026 Workqueue: writeback wb_workfn (flush-7:1) pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_put+0x358/0x364 fs/hfs/bnode.c:565 lr : hfs_bnode_put+0x358/0x364 fs/hfs/bnode.c:565 sp : ffff800025c36e40 x29: ffff800025c36e40 x28: 0000000000000302 x27: dfff800000000000 x26: ffff700004b86ddc x25: ffff800025c36ee0 x24: 1fffe0001944bbc0 x23: ffff0000d0414000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000ca25de80 x19: ffff0000ca25de00 x18: ffff800011b8bf60 x17: 0000000000000000 x16: ffff8000082eee68 x15: 0000000000000000 x14: 0000000000000001 x13: 1fffe0001944bbd0 x12: 0000000000ff0100 x11: ff00800008fa0468 x10: 0000000000000000 x9 : ffff800008fa0468 x8 : ffff0000d02ad340 x7 : ffff8000118c0d24 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008fa016c x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfs_bnode_put+0x358/0x364 fs/hfs/bnode.c:565 hfs_btree_inc_height+0x458/0x890 fs/hfs/brec.c:544 hfs_brec_insert+0x5c4/0x97c fs/hfs/brec.c:148 __hfs_ext_write_extent+0x22c/0x484 fs/hfs/extent.c:124 hfs_ext_write_extent+0x154/0x1e0 fs/hfs/extent.c:144 hfs_write_inode+0xf0/0x8dc fs/hfs/inode.c:434 write_inode fs/fs-writeback.c:1470 [inline] __writeback_single_inode+0x5e0/0x1554 fs/fs-writeback.c:1687 writeback_sb_inodes+0x858/0x143c fs/fs-writeback.c:1913 wb_writeback+0x414/0xfcc fs/fs-writeback.c:2087 wb_do_writeback fs/fs-writeback.c:2230 [inline] wb_workfn+0x360/0xe18 fs/fs-writeback.c:2270 process_one_work+0x7f8/0x13a4 kernel/workqueue.c:2292 worker_thread+0x8c4/0xfec kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Code: aa1403e0 97e514eb 17ffffce 97d42b95 (d4210000) ---[ end trace 0000000000000000 ]---