hfs: new node 0 already hashed?
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2407 at fs/hfs/bnode.c:422 hfs_bnode_create+0x3b6/0x440 fs/hfs/bnode.c:422
Modules linked in:
CPU: 0 PID: 2407 Comm: kworker/u8:7 Not tainted 6.9.0-syzkaller-10729-gb6394d6f7159 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Workqueue: writeback wb_workfn (flush-7:0)
RIP: 0010:hfs_bnode_create+0x3b6/0x440 fs/hfs/bnode.c:422
Code: 44 89 e6 e8 fc b8 fc 08 e9 78 fd ff ff e8 42 2a 16 ff 4c 89 ff e8 1a 8e 0a 09 48 c7 c7 c0 8a e1 8b 44 89 e6 e8 db b8 fc 08 90 <0f> 0b 90 eb af 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 83 fc ff ff 48
RSP: 0018:ffffc900096bec38 EFLAGS: 00010246
RAX: 000000000000001f RBX: ffff8880186ed600 RCX: dda4e7f44c127100
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8176a0bc R09: 1ffff920012d7d28
R10: dffffc0000000000 R11: fffff520012d7d29 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff888076618000 R15: ffff8880766180e0
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2cc7795ed8 CR3: 000000000e132000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hfs_bmap_alloc+0x5a6/0x650 fs/hfs/btree.c:291
 hfs_btree_inc_height+0x11e/0xd20 fs/hfs/brec.c:471
 hfs_brec_insert+0x723/0xbd0 fs/hfs/brec.c:148
 __hfs_ext_write_extent+0x2f2/0x4f0 fs/hfs/extent.c:124
 hfs_ext_write_extent+0x154/0x1d0 fs/hfs/extent.c:144
 hfs_write_inode+0xbc/0xec0 fs/hfs/inode.c:427
 write_inode fs/fs-writeback.c:1497 [inline]
 __writeback_single_inode+0x6b9/0x10b0 fs/fs-writeback.c:1716
 writeback_sb_inodes+0x99c/0x1380 fs/fs-writeback.c:1947
 wb_writeback+0x481/0xd40 fs/fs-writeback.c:2127
 wb_do_writeback fs/fs-writeback.c:2274 [inline]
 wb_workfn+0x410/0x1090 fs/fs-writeback.c:2314
 process_one_work kernel/workqueue.c:3231 [inline]
 process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>