hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4587 at fs/hfs/bnode.c:428 hfs_bnode_create+0x40c/0x4c8 fs/hfs/bnode.c:427 Modules linked in: CPU: 1 PID: 4587 Comm: kworker/u4:9 Not tainted 6.1.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Workqueue: writeback wb_workfn (flush-7:4) pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_create+0x40c/0x4c8 fs/hfs/bnode.c:427 lr : hfs_bnode_create+0x40c/0x4c8 fs/hfs/bnode.c:427 sp : ffff800022ee6d40 x29: ffff800022ee6d60 x28: dfff800000000000 x27: dfff800000000000 x26: 0000000000000080 x25: 0000000000000000 x24: ffff0000d095d088 x23: 1ffff000045dcdbc x22: 0000000000000000 x21: ffff0000faeb8000 x20: 0000000000000000 x19: ffff0000d095d000 x18: ffff800011aabce0 x17: 0000000000000000 x16: ffff8000082d2370 x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100 x11: ff0080000830a024 x10: 0000000000000000 x9 : 654f1bd80a797900 x8 : 654f1bd80a797900 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800022ee6818 x4 : ffff800015194800 x3 : ffff80000a83fe4c x2 : ffff00019f6efd10 x1 : 0000000100000000 x0 : 000000000000001f Call trace: hfs_bnode_create+0x40c/0x4c8 fs/hfs/bnode.c:427 hfs_bmap_alloc+0x4f4/0x59c fs/hfs/btree.c:291 hfs_btree_inc_height+0xf8/0x870 fs/hfs/brec.c:471 hfs_brec_insert+0x5bc/0x96c fs/hfs/brec.c:148 __hfs_ext_write_extent+0x230/0x488 fs/hfs/extent.c:124 hfs_ext_write_extent+0x144/0x1bc fs/hfs/extent.c:144 hfs_write_inode+0xbc/0x880 fs/hfs/inode.c:434 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:849 irq event stamp: 300886 hardirqs last enabled at (300885): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (300886): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (300722): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (300722): [] batadv_nc_purge_paths+0x2f4/0x37c net/batman-adv/network-coding.c:471 softirqs last disabled at (300720): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (300720): [] batadv_nc_purge_paths+0xd0/0x37c net/batman-adv/network-coding.c:442 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:473! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4587 Comm: kworker/u4:9 Tainted: G W 6.1.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Workqueue: writeback wb_workfn (flush-7:4) pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_put+0x31c/0x328 fs/hfs/bnode.c:473 lr : hfs_bnode_put+0x31c/0x328 fs/hfs/bnode.c:473 sp : ffff800022ee6e40 x29: ffff800022ee6e40 x28: 0000000000000302 x27: dfff800000000000 x26: ffff7000045dcddc x25: ffff800022ee6ee0 x24: 1fffe0001a12ba00 x23: dfff800000000000 x22: ffff0000faeb8000 x21: 0000000000000000 x20: ffff0000d095d080 x19: ffff0000d095d000 x18: ffff800011aabce0 x17: 0000000000000000 x16: ffff8000082e7bac x15: 0000000000000000 x14: 1fffe0001a12ba03 x13: 1ffff00002a160b1 x12: 0000000000ff0100 x11: ff00800008f814d4 x10: 0000000000000000 x9 : ffff800008f814d4 x8 : ffff0000c3eab780 x7 : ffff8000117e32e4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008f81214 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfs_bnode_put+0x31c/0x328 fs/hfs/bnode.c:473 hfs_btree_inc_height+0x448/0x870 fs/hfs/brec.c:525 hfs_brec_insert+0x5bc/0x96c fs/hfs/brec.c:148 __hfs_ext_write_extent+0x230/0x488 fs/hfs/extent.c:124 hfs_ext_write_extent+0x144/0x1bc fs/hfs/extent.c:144 hfs_write_inode+0xbc/0x880 fs/hfs/inode.c:434 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:849 Code: aa1403e0 97e5548f 17ffffd4 97d4819d (d4210000) ---[ end trace 0000000000000000 ]---