hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6239 at fs/hfs/bnode.c:520 hfs_bnode_create+0x37a/0x400 fs/hfs/bnode.c:519 Modules linked in: CPU: 0 PID: 6239 Comm: kworker/u4:17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Workqueue: writeback wb_workfn (flush-7:2) RIP: 0010:hfs_bnode_create+0x37a/0x400 fs/hfs/bnode.c:520 Code: 99 82 8a 89 ee e8 d6 1a be 07 e9 ab fd ff ff e8 8c 94 39 ff 48 89 df e8 64 31 d3 07 48 c7 c7 00 9a 82 8a 89 ee e8 b6 1a be 07 <0f> 0b eb b7 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c b7 fc ff ff 4c RSP: 0018:ffffc90004d8edc0 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff88807849a0e0 RCX: 71430f7b6a385100 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffff520009b1d59 R10: fffff520009b1d59 R11: 1ffff920009b1d58 R12: 0000000000000000 R13: ffff88807849a000 R14: ffff88807d17d900 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3e1e95 CR3: 000000005daf9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_bmap_alloc+0x537/0x5c0 fs/hfs/btree.c:291 hfs_btree_inc_height+0xf3/0xac0 fs/hfs/brec.c:490 hfs_brec_insert+0x73e/0xbc0 fs/hfs/brec.c:148 __hfs_ext_write_extent+0x2a1/0x470 fs/hfs/extent.c:124 hfs_ext_write_extent+0x15e/0x1e0 fs/hfs/extent.c:144 hfs_write_inode+0x8e/0x970 fs/hfs/inode.c:434 write_inode fs/fs-writeback.c:1470 [inline] __writeback_single_inode+0x75b/0x1160 fs/fs-writeback.c:1687 writeback_sb_inodes+0xad8/0x17d0 fs/fs-writeback.c:1913 __writeback_inodes_wb+0x12a/0x3f0 fs/fs-writeback.c:1984 wb_writeback+0x47a/0xd00 fs/fs-writeback.c:2089 wb_check_start_all fs/fs-writeback.c:2211 [inline] wb_do_writeback fs/fs-writeback.c:2237 [inline] wb_workfn+0x979/0xec0 fs/fs-writeback.c:2270 process_one_work+0x898/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295