hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 82 at fs/hfs/bnode.c:428 hfs_bnode_create+0x3b9/0x450 fs/hfs/bnode.c:428 Modules linked in: CPU: 1 UID: 0 PID: 82 Comm: kworker/u8:5 Not tainted 6.15.0-rc2-syzkaller-00471-g119009db2674 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: writeback wb_workfn (flush-7:1) RIP: 0010:hfs_bnode_create+0x3b9/0x450 fs/hfs/bnode.c:428 Code: 44 89 e6 e8 c9 f0 7c fe e9 78 fd ff ff e8 3f a5 18 ff 4c 89 ff e8 e7 58 80 09 48 c7 c7 c0 6f 61 8c 44 89 e6 e8 a8 f0 7c fe 90 <0f> 0b 90 eb af 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 80 fc ff ff 48 RSP: 0018:ffffc9000264ecb8 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff888030d8df00 RCX: b8af0205162f6400 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81a21cac R09: 1ffff920004c9d34 R10: dffffc0000000000 R11: fffff520004c9d35 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88807c01c000 R15: ffff88807c01c0e0 FS: 0000000000000000(0000) GS:ffff8881250cf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcfa0c37bd0 CR3: 00000000327b8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_bmap_alloc+0x5e3/0x690 fs/hfs/btree.c:291 hfs_btree_inc_height+0x117/0xe20 fs/hfs/brec.c:471 hfs_brec_insert+0x727/0xbe0 fs/hfs/brec.c:148 __hfs_ext_write_extent+0x2f2/0x4f0 fs/hfs/extent.c:124 hfs_ext_write_extent+0x156/0x1d0 fs/hfs/extent.c:144 hfs_write_inode+0xc3/0xb60 fs/hfs/inode.c:429 write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x708/0x10d0 fs/fs-writeback.c:1745 writeback_sb_inodes+0x822/0x1360 fs/fs-writeback.c:1976 wb_writeback+0x415/0xb90 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x412/0x10b0 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd50 kernel/workqueue.c:3400 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245