hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: fs/hfs/bnode.c:520 at hfs_bnode_create+0x461/0x4f0 fs/hfs/bnode.c:520, CPU#1: kworker/u8:10/8392 Modules linked in: CPU: 1 UID: 0 PID: 8392 Comm: kworker/u8:10 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Workqueue: writeback wb_workfn (flush-7:7) RIP: 0010:hfs_bnode_create+0x461/0x4f0 fs/hfs/bnode.c:520 Code: c1 8b 89 ee e8 e0 a4 8c fe e9 cf fc ff ff e8 d6 8f 25 ff 4c 89 ef e8 5e 38 e6 08 48 c7 c7 20 d1 c1 8b 89 ee e8 c0 a4 8c fe 90 <0f> 0b 90 eb b0 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c d6 fb ff ff RSP: 0018:ffffc9000bcbec00 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff88803064c000 RCX: f67f5d37ec693700 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffc9000bcbe927 R09: 1ffff92001797d24 R10: dffffc0000000000 R11: fffff52001797d25 R12: 0000000000000000 R13: ffff88803064c0e0 R14: ffff88804e65d300 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff888125aff000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc21607bf8 CR3: 0000000076b32000 CR4: 00000000003526f0 Call Trace: hfs_bmap_alloc+0x5bb/0x640 fs/hfs/btree.c:326 hfs_btree_inc_height+0xf6/0xac0 fs/hfs/brec.c:471 hfs_brec_insert+0x743/0xbd0 fs/hfs/brec.c:148 __hfs_ext_write_extent+0x2a1/0x470 fs/hfs/extent.c:124 hfs_ext_write_extent+0x161/0x1e0 fs/hfs/extent.c:144 hfs_write_inode+0x91/0x7d0 fs/hfs/inode.c:429 write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x6ee/0xff0 fs/fs-writeback.c:1745 writeback_sb_inodes+0x6c7/0x1010 fs/fs-writeback.c:1976 wb_writeback+0x43b/0xaf0 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x409/0xef0 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x47c/0x820 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245