hfs: new node 0 already hashed? ------------[ cut here ]------------ 1 WARNING: fs/hfs/bnode.c:520 at hfs_bnode_create+0x461/0x4f0 fs/hfs/bnode.c:520, CPU#1: kworker/u8:8/3015 Modules linked in: CPU: 1 UID: 0 PID: 3015 Comm: kworker/u8:8 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:hfs_bnode_create+0x461/0x4f0 fs/hfs/bnode.c:520 Code: a7 8b 89 ee e8 a0 a4 82 fe e9 cf fc ff ff e8 16 95 1d ff 4c 89 ef e8 de 42 d6 08 48 c7 c7 a0 87 a7 8b 89 ee e8 80 a4 82 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:ffffc9000b7c6c20 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff88803460c000 RCX: e5ce629dc992c600 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffc9000b7c69a7 R09: 1ffff920016f8d34 R10: dffffc0000000000 R11: fffff520016f8d35 R12: 0000000000000000 R13: ffff88803460c0e0 R14: ffff88807889e200 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff888125a26000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc6f415f90 CR3: 00000000794c2000 CR4: 0000000000350ef0 Call Trace: hfs_bmap_alloc+0x5c1/0x650 fs/hfs/btree.c:326 hfs_btree_inc_height+0x100/0xad0 fs/hfs/brec.c:490 hfs_brec_insert+0x7ef/0xc90 fs/hfs/brec.c:148 __hfs_ext_write_extent+0x2a1/0x470 fs/hfs/extent.c:124 hfs_ext_write_extent+0x17e/0x210 fs/hfs/extent.c:144 hfs_write_inode+0x117/0x960 fs/hfs/inode.c:441 write_inode fs/fs-writeback.c:1582 [inline] __writeback_single_inode+0x7e1/0x1230 fs/fs-writeback.c:1802 writeback_sb_inodes+0x92c/0x1820 fs/fs-writeback.c:2030 wb_writeback+0x445/0xad0 fs/fs-writeback.c:2216 wb_do_writeback fs/fs-writeback.c:2363 [inline] wb_workfn+0x3f8/0xef0 fs/fs-writeback.c:2403 process_one_work kernel/workqueue.c:3257 [inline] process_scheduled_works+0xaec/0x17a0 kernel/workqueue.c:3340 worker_thread+0x89f/0xd90 kernel/workqueue.c:3421 kthread+0x726/0x8b0 kernel/kthread.c:463 ret_from_fork+0x51b/0xa40 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246