hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 41 at fs/hfs/bnode.c:422 hfs_bnode_create+0x3b6/0x440 fs/hfs/bnode.c:422 Modules linked in: CPU: 0 UID: 0 PID: 41 Comm: kworker/u4:3 Not tainted 6.13.0-rc1-syzkaller-00001-ge70140ba0d2b #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:hfs_bnode_create+0x3b6/0x440 fs/hfs/bnode.c:422 Code: 44 89 e6 e8 9c 95 7e fe e9 78 fd ff ff e8 f2 00 17 ff 4c 89 ff e8 6a 9d 4a 09 48 c7 c7 00 74 20 8c 44 89 e6 e8 7b 95 7e fe 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:ffffc900005c6d38 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff8880345af300 RCX: 4c24376617493e00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff817f075c R09: 1ffff920000b8d44 R10: dffffc0000000000 R11: fffff520000b8d45 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888033d2e000 R15: ffff888033d2e0e0 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbdf9dbd000 CR3: 000000000e736000 CR4: 0000000000352ef0 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+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:429 write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x708/0x10d0 fs/fs-writeback.c:1745 writeback_sb_inodes+0x820/0x1360 fs/fs-writeback.c:1976 wb_writeback+0x413/0xb80 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x410/0x1080 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 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