hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4417 at fs/hfs/bnode.c:520 hfs_bnode_create+0x40c/0x4c8 fs/hfs/bnode.c:519 Modules linked in: CPU: 0 PID: 4417 Comm: kworker/u4:7 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Workqueue: writeback wb_workfn (flush-7:2) pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hfs_bnode_create+0x40c/0x4c8 fs/hfs/bnode.c:519 lr : hfs_bnode_create+0x40c/0x4c8 fs/hfs/bnode.c:519 sp : ffff800020e66d40 x29: ffff800020e66d60 x28: dfff800000000000 x27: dfff800000000000 x26: 0000000000000080 x25: 0000000000000000 x24: ffff0000d302e888 x23: 1ffff000041ccdbc x22: 0000000000000000 x21: ffff0000f4118000 x20: 0000000000000000 x19: ffff0000d302e800 x18: ffff800011a5bd40 x17: 0000000000000000 x16: ffff8000082d3a08 x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100 x11: ff0080000830b6e8 x10: 0000000000000000 x9 : b67cc367094fdf00 x8 : b67cc367094fdf00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800020e66818 x4 : ffff800015134e00 x3 : ffff80000a84818c x2 : ffff00019f73dd10 x1 : 0000000100000000 x0 : 000000000000001f Call trace: hfs_bnode_create+0x40c/0x4c8 fs/hfs/bnode.c:519 hfs_bmap_alloc+0x4f4/0x59c fs/hfs/btree.c:291 hfs_btree_inc_height+0xf8/0x870 fs/hfs/brec.c:490 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:1470 [inline] __writeback_single_inode+0x5e0/0x157c fs/fs-writeback.c:1687 writeback_sb_inodes+0x824/0x1404 fs/fs-writeback.c:1913 wb_writeback+0x400/0xfb0 fs/fs-writeback.c:2087 wb_do_writeback fs/fs-writeback.c:2230 [inline] wb_workfn+0x34c/0xd98 fs/fs-writeback.c:2270 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:850 irq event stamp: 2137952 hardirqs last enabled at (2137951): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (2137952): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (2137264): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (2137264): [] macvlan_process_broadcast+0x1c4/0x5c4 drivers/net/macvlan.c:305 softirqs last disabled at (2137262): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (2137262): [] macvlan_process_broadcast+0xdc/0x5c4 drivers/net/macvlan.c:303 ---[ 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: 4417 Comm: kworker/u4:7 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 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 : ffff800020e66e40 x29: ffff800020e66e40 x28: 0000000000000302 x27: dfff800000000000 x26: ffff7000041ccddc x25: ffff800020e66ee0 x24: 1fffe0001a605d00 x23: ffff0000f4118000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000d302e880 x19: ffff0000d302e800 x18: ffff800011a5bd40 x17: 0000000000000000 x16: ffff8000082e9244 x15: 0000000000000000 x14: 0000000000000001 x13: 1ffff00002a0a0b1 x12: 0000000000ff0100 x11: ff00800008f86ebc x10: 0000000000000000 x9 : ffff800008f86ebc x8 : ffff0000cfe6b780 x7 : ffff800011794ea4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008f86bc0 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfs_bnode_put+0x358/0x364 fs/hfs/bnode.c:565 hfs_btree_inc_height+0x448/0x870 fs/hfs/brec.c:544 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:1470 [inline] __writeback_single_inode+0x5e0/0x157c fs/fs-writeback.c:1687 writeback_sb_inodes+0x824/0x1404 fs/fs-writeback.c:1913 wb_writeback+0x400/0xfb0 fs/fs-writeback.c:2087 wb_do_writeback fs/fs-writeback.c:2230 [inline] wb_workfn+0x34c/0xd98 fs/fs-writeback.c:2270 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:850 Code: aa1403e0 97e54759 17ffffce 97d47092 (d4210000) ---[ end trace 0000000000000000 ]---