hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3535 at fs/hfs/bnode.c:520 hfs_bnode_create+0x3b9/0x440 fs/hfs/bnode.c:519 Modules linked in: CPU: 0 PID: 3535 Comm: kworker/u4:9 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Workqueue: writeback wb_workfn (flush-7:1) RIP: 0010:hfs_bnode_create+0x3b9/0x440 fs/hfs/bnode.c:520 Code: bb c0 8a 89 ee e8 37 3f 0d 08 e9 73 fd ff ff e8 dd ae 2f ff 4c 89 ef e8 f5 34 22 08 48 c7 c7 c0 bb c0 8a 89 ee e8 17 3f 0d 08 <0f> 0b eb b7 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 7f fc ff ff 4c RSP: 0018:ffffc9000d0a6e18 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff888027be6000 RCX: 08b30a188f9beb00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffc9000d0a6b27 R09: 1ffff92001a14d64 R10: dffffc0000000000 R11: fffff52001a14d65 R12: 0000000000000000 R13: ffff888027be60e0 R14: ffff88802d9cc900 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f890dfb6358 CR3: 0000000075c48000 CR4: 00000000003506f0 Call Trace: hfs_bmap_alloc+0x53b/0x5c0 fs/hfs/btree.c:326 hfs_btree_inc_height+0xf7/0xac0 fs/hfs/brec.c:471 hfs_brec_insert+0x742/0xbd0 fs/hfs/brec.c:148 __hfs_ext_write_extent+0x2a1/0x470 fs/hfs/extent.c:124 hfs_ext_write_extent+0x162/0x1e0 fs/hfs/extent.c:144 hfs_write_inode+0x92/0x7d0 fs/hfs/inode.c:434 write_inode fs/fs-writeback.c:1473 [inline] __writeback_single_inode+0x705/0xee0 fs/fs-writeback.c:1690 writeback_sb_inodes+0x77c/0xef0 fs/fs-writeback.c:1916 wb_writeback+0x450/0xba0 fs/fs-writeback.c:2095 wb_do_writeback fs/fs-writeback.c:2242 [inline] wb_workfn+0x3ff/0xe20 fs/fs-writeback.c:2282 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293