hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1594 at fs/hfs/bnode.c:422 hfs_bnode_create+0x428/0x4dc fs/hfs/bnode.c:421 Modules linked in: CPU: 1 PID: 1594 Comm: kworker/u4:4 Not tainted 6.1.134-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+0x428/0x4dc fs/hfs/bnode.c:421 lr : hfs_bnode_create+0x428/0x4dc fs/hfs/bnode.c:421 sp : ffff800025bd6b70 x29: ffff800025bd6b80 x28: dfff800000000000 x27: dfff800000000000 x26: 000000000000016c x25: ffff0000c0bf9a88 x24: 0000000000000000 x23: 0000000000000000 x22: ffff0000d98e60e0 x21: ffff0000d98e6000 x20: 0000000000000000 x19: ffff0000c0bf9a00 x18: ffff800025bd6140 x17: 0000000000000000 x16: ffff80001232ab6c x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : 983981ababd3f000 x8 : 983981ababd3f000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800025bd6478 x4 : ffff800015be5360 x3 : ffff80000ab36038 x2 : ffff0001b3ce3cd0 x1 : 0000000100000000 x0 : 000000000000001f Call trace: hfs_bnode_create+0x428/0x4dc fs/hfs/bnode.c:421 hfs_bmap_alloc+0x59c/0x664 fs/hfs/btree.c:291 hfs_btree_inc_height+0xf8/0x9d0 fs/hfs/brec.c:471 hfs_brec_insert+0x580/0x97c fs/hfs/brec.c:148 __hfs_ext_write_extent+0x240/0x468 fs/hfs/extent.c:124 hfs_ext_write_extent+0x148/0x1c0 fs/hfs/extent.c:144 hfs_write_inode+0xc0/0x9a0 fs/hfs/inode.c:434 write_inode fs/fs-writeback.c:1460 [inline] __writeback_single_inode+0x614/0x1770 fs/fs-writeback.c:1677 writeback_sb_inodes+0x978/0x1718 fs/fs-writeback.c:1903 __writeback_inodes_wb+0x110/0x39c fs/fs-writeback.c:1974 wb_writeback+0x428/0x1130 fs/fs-writeback.c:2079 wb_check_background_flush fs/fs-writeback.c:2145 [inline] wb_do_writeback fs/fs-writeback.c:2233 [inline] wb_workfn+0xc98/0x1034 fs/fs-writeback.c:2260 process_one_work+0x804/0x1484 kernel/workqueue.c:2292 worker_thread+0x8e4/0xfec 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: 88694 hardirqs last enabled at (88693): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (88694): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (80820): [] neigh_managed_work+0x1e0/0x21c net/core/neighbour.c:1618 softirqs last disabled at (80816): [] neigh_managed_work+0x40/0x21c net/core/neighbour.c:1613 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:467! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 1594 Comm: kworker/u4:4 Tainted: G W 6.1.134-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+0x318/0x324 fs/hfs/bnode.c:467 lr : hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467 sp : ffff800025bd6c90 x29: ffff800025bd6c90 x28: dfff800000000000 x27: ffff700004b7ada8 x26: 1fffe0001b31cc03 x25: 0000000000000200 x24: 1fffe0001817f340 x23: dfff800000000000 x22: ffff0000d98e6000 x21: ffff0000c0bf9a80 x20: 0000000000000000 x19: ffff0000c0bf9a00 x18: ffff800025bd6140 x17: 0000000000000000 x16: ffff80000825c040 x15: 0000000000000000 x14: 1ffff00002b600b2 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff8000090a25c8 x8 : ffff0000cf72b780 x7 : ffff80001227cec0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000090a2308 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467 hfs_btree_inc_height+0x4c0/0x9d0 fs/hfs/brec.c:525 hfs_brec_insert+0x580/0x97c fs/hfs/brec.c:148 __hfs_ext_write_extent+0x240/0x468 fs/hfs/extent.c:124 hfs_ext_write_extent+0x148/0x1c0 fs/hfs/extent.c:144 hfs_write_inode+0xc0/0x9a0 fs/hfs/inode.c:434 write_inode fs/fs-writeback.c:1460 [inline] __writeback_single_inode+0x614/0x1770 fs/fs-writeback.c:1677 writeback_sb_inodes+0x978/0x1718 fs/fs-writeback.c:1903 __writeback_inodes_wb+0x110/0x39c fs/fs-writeback.c:1974 wb_writeback+0x428/0x1130 fs/fs-writeback.c:2079 wb_check_background_flush fs/fs-writeback.c:2145 [inline] wb_do_writeback fs/fs-writeback.c:2233 [inline] wb_workfn+0xc98/0x1034 fs/fs-writeback.c:2260 process_one_work+0x804/0x1484 kernel/workqueue.c:2292 worker_thread+0x8e4/0xfec kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 Code: aa1503e0 97e34da4 17ffffd5 97d145c7 (d4210000) ---[ end trace 0000000000000000 ]---