hfs: new node 0 already hashed? ------------[ cut here ]------------ 1 WARNING: fs/hfs/bnode.c:520 at hfs_bnode_create.cold+0x41/0x49 fs/hfs/bnode.c:520, CPU#0: kworker/u8:3/48 Modules linked in: CPU: 0 UID: 0 PID: 48 Comm: kworker/u8:3 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Workqueue: writeback wb_workfn (flush-7:5) RIP: 0010:hfs_bnode_create.cold+0x41/0x49 fs/hfs/bnode.c:520 Code: 95 94 63 0a e9 a7 4d d1 01 e8 7b 22 e1 00 4c 89 f7 e8 83 94 63 0a e8 6e 22 e1 00 89 ee 48 c7 c7 80 e7 d1 8b e8 40 e1 fa ff 90 <0f> 0b 90 e9 a9 50 d1 01 e8 52 22 e1 00 e8 8d 4c 4d 00 e9 05 53 d1 RSP: 0018:ffffc90000b97020 EFLAGS: 00010282 RAX: 000000000000001f RBX: ffff88802bf58d00 RCX: 0000000000000000 RDX: 000000000000001f RSI: ffffffff81e72a69 RDI: fffff52000172df5 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff88807a9b2000 R14: ffff88807a9b20d8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888124384000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f953c1ea2f8 CR3: 000000005800b000 CR4: 0000000000350ef0 Call Trace: hfs_bmap_alloc+0x5a7/0x6b0 fs/hfs/btree.c:326 hfs_btree_inc_height.isra.0+0xff/0x820 fs/hfs/brec.c:490 hfs_brec_insert+0x8ba/0xc20 fs/hfs/brec.c:148 __hfs_ext_write_extent+0x3ef/0x510 fs/hfs/extent.c:124 hfs_ext_write_extent+0x1b7/0x200 fs/hfs/extent.c:144 hfs_write_inode+0xce/0xab0 fs/hfs/inode.c:459 write_inode fs/fs-writeback.c:1584 [inline] __writeback_single_inode+0xcd4/0x1350 fs/fs-writeback.c:1827 writeback_sb_inodes+0x766/0x1c60 fs/fs-writeback.c:2056 wb_writeback+0x1bf/0xb90 fs/fs-writeback.c:2241 wb_do_writeback fs/fs-writeback.c:2388 [inline] wb_workfn+0x14f/0xc00 fs/fs-writeback.c:2428 process_one_work+0xa0e/0x1980 kernel/workqueue.c:3314 process_scheduled_works kernel/workqueue.c:3397 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3478 kthread+0x370/0x450 kernel/kthread.c:436 ret_from_fork+0x72b/0xd50 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245