hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: fs/hfs/bnode.c:520 at hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:519, CPU#0: kworker/u8:24/21337 Modules linked in: CPU: 0 UID: 0 PID: 21337 Comm: kworker/u8:24 Tainted: G L syzkaller #0 PREEMPT Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Workqueue: writeback wb_workfn (flush-7:6) pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:519 lr : hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:519 sp : ffff80009d986bd0 x29: ffff80009d986be0 x28: 0000000000000000 x27: dfff800000000000 x26: 0000000000000080 x25: dfff800000000000 x24: 0000000000000000 x23: ffff00014337008c x22: 0000000000000000 x21: 0000000000000000 x20: ffff000164f26000 x19: ffff0000d3f3fc00 x18: 1fffe0003377d090 x17: 0000000000000000 x16: ffff800082e5e68c x15: 0000000000000001 x14: 1ffff00013b30cf4 x13: 0000000000000000 x12: 0000000000000000 x11: ffff700013b30cf5 x10: 0000000000ff0100 x9 : 25bf8a052ce95700 x8 : 25bf8a052ce95700 x7 : 0000000000000000 x6 : ffff80008049ea88 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000807f1260 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000001f Call trace: hfs_bnode_create+0x384/0x430 fs/hfs/bnode.c:519 (P) hfs_bmap_alloc+0x5b0/0x688 fs/hfs/btree.c:326 hfs_btree_inc_height+0xf8/0x870 fs/hfs/brec.c:490 hfs_brec_insert+0x664/0xa10 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+0xc4/0x7b8 fs/hfs/inode.c:441 write_inode fs/fs-writeback.c:1582 [inline] __writeback_single_inode+0x6b0/0x16b8 fs/fs-writeback.c:1802 writeback_sb_inodes+0x73c/0x16b4 fs/fs-writeback.c:2030 wb_writeback+0x3b4/0xd70 fs/fs-writeback.c:2216 wb_do_writeback fs/fs-writeback.c:2363 [inline] wb_workfn+0x320/0xdc0 fs/fs-writeback.c:2403 process_one_work+0x7c0/0x1558 kernel/workqueue.c:3257 process_scheduled_works kernel/workqueue.c:3340 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3421 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 irq event stamp: 0 hardirqs last enabled at (0): [<0000000000000000>] 0x0 hardirqs last disabled at (0): [] copy_process+0x1074/0x32fc kernel/fork.c:2166 softirqs last enabled at (0): [] copy_process+0x10a8/0x32fc kernel/fork.c:2167 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:565! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 21337 Comm: kworker/u8:24 Tainted: G W L syzkaller #0 PREEMPT Tainted: [W]=WARN, [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Workqueue: writeback wb_workfn (flush-7:6) pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : hfs_bnode_put+0x348/0x3c4 fs/hfs/bnode.c:565 lr : hfs_bnode_put+0x348/0x3c4 fs/hfs/bnode.c:565 sp : ffff80009d986cc0 x29: ffff80009d986cd0 x28: 0000000000000302 x27: dfff800000000000 x26: ffff700013b30dac x25: ffff80009d986d60 x24: 0000000000000200 x23: ffff000164f26000 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000d3f3fc80 x19: ffff0000d3f3fc00 x18: 1fffe0003377d090 x17: 0000000000000000 x16: ffff800080544d7c x15: 0000000000000001 x14: 1fffe0001a7e7f90 x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001a7e7f91 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c998d580 x7 : 0000000000000000 x6 : ffff80008af09f78 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800081364f98 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: hfs_bnode_put+0x348/0x3c4 fs/hfs/bnode.c:565 (P) hfs_btree_inc_height+0x448/0x870 fs/hfs/brec.c:544 hfs_brec_insert+0x664/0xa10 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+0xc4/0x7b8 fs/hfs/inode.c:441 write_inode fs/fs-writeback.c:1582 [inline] __writeback_single_inode+0x6b0/0x16b8 fs/fs-writeback.c:1802 writeback_sb_inodes+0x73c/0x16b4 fs/fs-writeback.c:2030 wb_writeback+0x3b4/0xd70 fs/fs-writeback.c:2216 wb_do_writeback fs/fs-writeback.c:2363 [inline] wb_workfn+0x320/0xdc0 fs/fs-writeback.c:2403 process_one_work+0x7c0/0x1558 kernel/workqueue.c:3257 process_scheduled_works kernel/workqueue.c:3340 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3421 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 Code: f94007f7 f2fbfff6 17ffff45 97cfa621 (d4210000) ---[ end trace 0000000000000000 ]---