hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1310 at fs/hfs/bnode.c:520 hfs_bnode_create+0x40c/0x4c4 fs/hfs/bnode.c:519 Modules linked in: CPU: 1 PID: 1310 Comm: kworker/u4:3 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/26/2026 Workqueue: writeback wb_workfn (flush-7:2) 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 : ffff800024a26d40 x29: ffff800024a26d60 x28: ffff700004944dbc x27: dfff800000000000 x26: 0000000000000080 x25: 0000000000000000 x24: ffff0000d44a2a88 x23: dfff800000000000 x22: 0000000000000000 x21: ffff0000c3690000 x20: 0000000000000000 x19: ffff0000d44a2a00 x18: ffff800011b8bf60 x17: 1fffe00033eac97e x16: ffff8000082d91a4 x15: 0000000040000000 x14: 0000000000000001 x13: 1ffff00004944d10 x12: 0000000000ff0100 x11: ff00800008311550 x10: 0000000000000000 x9 : 88fdeed70fa43600 x8 : 88fdeed70fa43600 x7 : ffff80000825796c x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 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: 350014 hardirqs last enabled at (350013): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1374 [inline] hardirqs last enabled at (350013): [] finish_lock_switch+0xb0/0x1c4 kernel/sched/core.c:5004 hardirqs last disabled at (350014): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (349850): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (349850): [] batadv_nc_purge_paths+0x2f0/0x378 net/batman-adv/network-coding.c:471 softirqs last disabled at (349848): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (349848): [] batadv_nc_purge_paths+0xd0/0x378 net/batman-adv/network-coding.c:442 ---[ 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: 0 PID: 1310 Comm: kworker/u4:3 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:2) 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 : ffff800024a26e40 x29: ffff800024a26e40 x28: 0000000000000302 x27: dfff800000000000 x26: ffff700004944ddc x25: ffff800024a26ee0 x24: 1fffe0001a894540 x23: ffff0000c3690000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000d44a2a80 x19: ffff0000d44a2a00 x18: ffff800011b8bf60 x17: 1fffe00033eac97e x16: ffff8000082eee68 x15: 0000000040000000 x14: 0000000000000001 x13: 1fffe0001a894550 x12: 0000000000ff0100 x11: ff00800008fa0468 x10: 0000000000000000 x9 : ffff800008fa0468 x8 : ffff0000ce42d340 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 ]---