hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 178 at fs/hfs/bnode.c:428 hfs_bnode_create+0x40c/0x4c8 fs/hfs/bnode.c:427 Modules linked in: CPU: 0 PID: 178 Comm: kworker/u4:3 Not tainted 6.1.135-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: writeback wb_workfn (flush-7:0) pstate: 60400005 (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 : ffff8000207f6d40 x29: ffff8000207f6d60 x28: dfff800000000000 x27: dfff800000000000 x26: 0000000000000080 x25: 0000000000000000 x24: ffff0000c3144488 x23: 1ffff000040fedbc x22: 0000000000000000 x21: ffff0000d8fe2000 x20: 0000000000000000 x19: ffff0000c3144400 x18: ffff800011a7bd00 x17: 0000000000000000 x16: ffff8000082d1c08 x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100 x11: ff008000083098bc x10: 0000000000000000 x9 : 57ce33bc13898200 x8 : 57ce33bc13898200 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000207f6818 x4 : ffff800015154740 x3 : ffff80000a83b22c x2 : ffff0001b3e17cd0 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:864 irq event stamp: 84192 hardirqs last enabled at (84191): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (84192): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (83734): [] neigh_managed_work+0x1d0/0x214 net/core/neighbour.c:1618 softirqs last disabled at (83730): [] neigh_managed_work+0x3c/0x214 net/core/neighbour.c:1613 ---[ 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: 0 PID: 178 Comm: kworker/u4:3 Tainted: G W 6.1.135-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: writeback wb_workfn (flush-7:0) pstate: 80400005 (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 : ffff8000207f6e40 x29: ffff8000207f6e40 x28: 0000000000000302 x27: dfff800000000000 x26: ffff7000040feddc x25: ffff8000207f6ee0 x24: 1fffe00018628880 x23: dfff800000000000 x22: ffff0000d8fe2000 x21: 0000000000000000 x20: ffff0000c3144480 x19: ffff0000c3144400 x18: ffff800011a7bd00 x17: 0000000000000000 x16: ffff8000082e7444 x15: 0000000000000000 x14: 1fffe00018628883 x13: 1ffff00002a0e0b1 x12: 0000000000ff0100 x11: ff00800008f8053c x10: 0000000000000000 x9 : ffff800008f8053c x8 : ffff0000c9315340 x7 : ffff8000117abba4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008f8027c 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:864 Code: aa1403e0 97e55538 17ffffd4 97d484e5 (d4210000) ---[ end trace 0000000000000000 ]---