hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3608 at fs/hfs/bnode.c:432 hfs_bnode_create+0x3dd/0x460 fs/hfs/bnode.c:431 Modules linked in: CPU: 0 PID: 3608 Comm: kworker/u4:4 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:hfs_bnode_create+0x3dd/0x460 fs/hfs/bnode.c:432 Code: 8a 44 89 e6 e8 f4 d4 ef 07 e9 4c fd ff ff e8 8a 0c 3d ff 4c 89 ef e8 b2 96 fa 07 48 c7 c7 c0 91 9f 8a 44 89 e6 e8 d3 d4 ef 07 <0f> 0b eb b5 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 59 fc ff ff 48 89 RSP: 0018:ffffc90003056e30 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff888017fb6d00 RCX: 3ce082a67b88c000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81668a3c R09: ffffed10172067a8 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88807b3180e0 R14: ffff88807b318000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3d3c2a7060 CR3: 000000002048c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000fff DR2: 000000000000000a DR3: 0000000000000003 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_bmap_alloc+0x64f/0x740 fs/hfs/btree.c:288 hfs_btree_inc_height+0x11a/0xd20 fs/hfs/brec.c:471 hfs_brec_insert+0x71f/0xbd0 fs/hfs/brec.c:148 __hfs_ext_write_extent+0x2f2/0x4f0 fs/hfs/extent.c:124 hfs_ext_write_extent+0x150/0x1d0 fs/hfs/extent.c:144 hfs_write_inode+0xb8/0xec0 fs/hfs/inode.c:432 write_inode fs/fs-writeback.c:1495 [inline] __writeback_single_inode+0x644/0xe30 fs/fs-writeback.c:1705 writeback_sb_inodes+0xbce/0x1a40 fs/fs-writeback.c:1930 wb_writeback+0x451/0xc50 fs/fs-writeback.c:2104 wb_do_writeback fs/fs-writeback.c:2247 [inline] wb_workfn+0x46c/0x1130 fs/fs-writeback.c:2288 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287