hfs: new node 0 already hashed? ------------[ cut here ]------------ 1 WARNING: fs/hfs/bnode.c:478 at hfs_bnode_create.cold+0x41/0x49 fs/hfs/bnode.c:478, CPU#1: kworker/u8:16/6120 Modules linked in: CPU: 1 UID: 0 PID: 6120 Comm: kworker/u8:16 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: writeback wb_workfn (flush-7:5) RIP: 0010:hfs_bnode_create.cold+0x41/0x49 fs/hfs/bnode.c:478 Code: 46 fd c9 0a e9 68 62 e9 01 e8 ac c0 e6 00 4c 89 f7 e8 34 fd c9 0a e8 9f c0 e6 00 89 ee 48 c7 c7 40 bd 34 8c e8 21 d7 fa ff 90 <0f> 0b 90 e9 6a 65 e9 01 e8 83 c0 e6 00 e8 ae 1d 4f 00 e9 c6 67 e9 RSP: 0018:ffffc90005ba7008 EFLAGS: 00010282 RAX: 000000000000001f RBX: ffff88802a591200 RCX: 0000000000000000 RDX: 000000000000001f RSI: ffffffff81ec0c99 RDI: fffff52000b74df2 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000200 R11: 0000000000000001 R12: dffffc0000000000 R13: ffff888047726000 R14: ffff8880477260d8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888122570000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f66f295d307 CR3: 00000000371ab000 CR4: 0000000000350ef0 Call Trace: hfs_bmap_alloc+0x59e/0x690 fs/hfs/btree.c:459 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+0x4dd/0x610 fs/hfs/extent.c:124 hfs_ext_write_extent+0x1bd/0x200 fs/hfs/extent.c:150 hfs_write_inode+0xce/0xb40 fs/hfs/inode.c:475 write_inode fs/fs-writeback.c:1629 [inline] __writeback_single_inode+0xe82/0x1560 fs/fs-writeback.c:1872 writeback_sb_inodes+0x766/0x1c40 fs/fs-writeback.c:2120 wb_writeback+0x1c0/0xb50 fs/fs-writeback.c:2305 wb_do_writeback fs/fs-writeback.c:2473 [inline] wb_workfn+0x143/0xc80 fs/fs-writeback.c:2518 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495 process_scheduled_works kernel/workqueue.c:3578 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3659 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245