hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 12 at fs/hfs/bnode.c:520 hfs_bnode_create+0x14c/0x5e0 fs/hfs/bnode.c:520 Modules linked in: CPU: 0 UID: 0 PID: 12 Comm: kworker/u8:0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: writeback wb_workfn (flush-7:5) RIP: 0010:hfs_bnode_create+0x14c/0x5e0 fs/hfs/bnode.c:520 Code: d2 18 ff 45 39 fc 75 9e e8 d1 d7 18 ff 4c 89 f7 e8 d9 08 c3 08 e8 c4 d7 18 ff 44 89 e6 48 c7 c7 20 eb aa 8b e8 05 2c f7 fe 90 <0f> 0b 90 e8 ac d7 18 ff 48 89 d8 48 83 c4 28 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc90000117070 EFLAGS: 00010286 RAX: 000000000000001f RBX: ffff888078ce7e00 RCX: ffffffff819b9f09 RDX: 0000000000000000 RSI: ffffffff819c1a36 RDI: 0000000000000005 RBP: ffff888055040000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880550400e0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881249d9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f94a5d9f000 CR3: 000000005b92f000 CR4: 0000000000350ef0 Call Trace: hfs_bmap_alloc+0x7d7/0x960 fs/hfs/btree.c:326 hfs_btree_inc_height.isra.0+0xff/0x820 fs/hfs/brec.c:490 hfs_brec_insert+0x8b1/0xc40 fs/hfs/brec.c:148 __hfs_ext_write_extent+0x3fa/0x520 fs/hfs/extent.c:124 hfs_ext_write_extent+0x1b5/0x1f0 fs/hfs/extent.c:144 hfs_write_inode+0xcc/0xab0 fs/hfs/inode.c:440 write_inode fs/fs-writeback.c:1564 [inline] __writeback_single_inode+0xb3e/0xfb0 fs/fs-writeback.c:1784 writeback_sb_inodes+0x60d/0xfa0 fs/fs-writeback.c:2015 wb_writeback+0x419/0xb70 fs/fs-writeback.c:2195 wb_do_writeback fs/fs-writeback.c:2342 [inline] wb_workfn+0x14d/0xbe0 fs/fs-writeback.c:2382 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3427 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245