hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 238 at fs/hfs/bnode.c:520 hfs_bnode_create+0x40c/0x4c4 fs/hfs/bnode.c:519 Modules linked in: CPU: 1 PID: 238 Comm: kworker/u4:4 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/26/2026 Workqueue: writeback wb_workfn (flush-7:1) 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 : ffff80001fe36d40 x29: ffff80001fe36d60 x28: ffff700003fc6dbc x27: dfff800000000000 x26: 0000000000000080 x25: 0000000000000000 x24: ffff0000c2f9dc88 x23: dfff800000000000 x22: 0000000000000000 x21: ffff0000f4938000 x20: 0000000000000000 x19: ffff0000c2f9dc00 x18: ffff800011b8bf60 x17: 1fffe00033eac97e x16: ffff8000082d91a4 x15: 0000000040000000 x14: 0000000000000001 x13: 1ffff00003fc6d10 x12: 0000000000ff0100 x11: ff00800008311550 x10: 0000000000000000 x9 : f49de26416c4ca00 x8 : f49de26416c4ca00 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: 309256 hardirqs last enabled at (309255): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1374 [inline] hardirqs last enabled at (309255): [] finish_lock_switch+0xb0/0x1c4 kernel/sched/core.c:5004 hardirqs last disabled at (309256): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (308520): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (308520): [] ieee80211_ibss_work+0x2a8/0xd68 net/mac80211/ibss.c:1701 softirqs last disabled at (308518): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (308518): [] ieee80211_ibss_work+0xdc/0xd68 net/mac80211/ibss.c:1690 ---[ 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: 238 Comm: kworker/u4:4 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:1) 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 : ffff80001fe36e40 x29: ffff80001fe36e40 x28: 0000000000000302 x27: dfff800000000000 x26: ffff700003fc6ddc x25: ffff80001fe36ee0 x24: 1fffe000185f3b80 x23: ffff0000f4938000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000c2f9dc80 x19: ffff0000c2f9dc00 x18: ffff800011b8bf60 x17: 1fffe00033eac97e x16: ffff8000082eee68 x15: 0000000040000000 x14: 0000000000000001 x13: 1fffe000185f3b90 x12: 0000000000ff0100 x11: ff00800008fa0468 x10: 0000000000000000 x9 : ffff800008fa0468 x8 : ffff0000c79c5340 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 ]---