hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 12 at fs/hfs/bnode.c:422 hfs_bnode_create+0x3b6/0x440 fs/hfs/bnode.c:422 Modules linked in: CPU: 0 UID: 0 PID: 12 Comm: kworker/u8:1 Not tainted 6.12.0-syzkaller-03657-g43fb83c17ba2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/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 bc 06 39 09 e9 78 fd ff ff e8 d2 56 0e ff 4c 89 ff e8 5a bf 45 09 48 c7 c7 80 4b 22 8c 44 89 e6 e8 9b 06 39 09 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:ffffc90000116cb8 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff8880202c2400 RCX: 207bd4e05ff4df00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8174dddc R09: 1ffff92000022d34 R10: dffffc0000000000 R11: fffff52000022d35 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88807ccda000 R15: ffff88807ccda0e0 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffeb7ec48f8 CR3: 000000003363c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_bmap_alloc+0x5a6/0x650 fs/hfs/btree.c:291 hfs_btree_inc_height+0x11e/0xd20 fs/hfs/brec.c:471 hfs_brec_insert+0x15b/0xbd0 fs/hfs/brec.c:77 __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:429 write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x711/0x10d0 fs/fs-writeback.c:1745 writeback_sb_inodes+0x80c/0x1370 fs/fs-writeback.c:1976 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:2047 wb_writeback+0x427/0xbc0 fs/fs-writeback.c:2158 wb_check_background_flush fs/fs-writeback.c:2228 [inline] wb_do_writeback fs/fs-writeback.c:2316 [inline] wb_workfn+0xc58/0x1090 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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