hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1155 at fs/hfs/bnode.c:422 hfs_bnode_create+0x3b6/0x440 fs/hfs/bnode.c:422 Modules linked in: CPU: 1 UID: 0 PID: 1155 Comm: kworker/u8:6 Not tainted 6.12.0-rc7-syzkaller-00189-ge8bdb3c8be08 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: writeback wb_workfn (flush-7:4) RIP: 0010:hfs_bnode_create+0x3b6/0x440 fs/hfs/bnode.c:422 Code: 44 89 e6 e8 5c ae 36 09 e9 78 fd ff ff e8 a2 5f 0f ff 4c 89 ff e8 da 75 43 09 48 c7 c7 40 32 22 8c 44 89 e6 e8 3b ae 36 09 90 <0f> 0b 90 eb af 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 83 fc ff ff 48 RSP: 0000:ffffc90003e86d38 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff8880280e6d00 RCX: 1030e367894cce00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8174b0dc R09: 1ffff920007d0d44 R10: dffffc0000000000 R11: fffff520007d0d45 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888011d8e000 R15: ffff888011d8e0e0 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0189ee7000 CR3: 000000000e734000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_bmap_alloc+0x5a6/0x650 fs/hfs/btree.c:291 hfs_btree_inc_height+0x11e/0xd20 fs/hfs/brec.c:471 hfs_brec_insert+0x723/0xbd0 fs/hfs/brec.c:148 __hfs_ext_write_extent+0x2f2/0x4f0 fs/hfs/extent.c:124 hfs_ext_write_extent+0x154/0x1d0 fs/hfs/extent.c:144 hfs_write_inode+0xbc/0xec0 fs/hfs/inode.c:429 write_inode fs/fs-writeback.c:1503 [inline] __writeback_single_inode+0x711/0x10d0 fs/fs-writeback.c:1723 writeback_sb_inodes+0x80c/0x1370 fs/fs-writeback.c:1954 wb_writeback+0x41b/0xbd0 fs/fs-writeback.c:2134 wb_do_writeback fs/fs-writeback.c:2281 [inline] wb_workfn+0x410/0x1090 fs/fs-writeback.c:2321 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244