hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1122 at fs/hfs/bnode.c:422 hfs_bnode_create+0x147/0x4e0 fs/hfs/bnode.c:422 Modules linked in: CPU: 1 PID: 1122 Comm: kworker/u32:9 Not tainted 6.10.0-rc4-syzkaller-00148-g50736169ecc8 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Workqueue: writeback wb_workfn (flush-7:2) RIP: 0010:hfs_bnode_create+0x147/0x4e0 fs/hfs/bnode.c:422 Code: 44 89 fe e8 3b 7d 20 ff 45 39 fc 75 9e e8 f1 82 20 ff 4c 89 f7 e8 29 98 72 08 44 89 e6 48 c7 c7 40 fb 48 8b e8 ea 1e 01 ff 90 <0f> 0b 90 e8 d1 82 20 ff 48 89 d8 48 83 c4 18 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc90007507118 EFLAGS: 00010282 RAX: 000000000000001f RBX: ffff888070275d00 RCX: ffffffff816f41b9 RDX: 0000000000000000 RSI: ffffffff816fcdb6 RDI: 0000000000000005 RBP: ffff88802a2b8000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000003 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88802a2b80e0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802c100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f7f1c540 CR3: 0000000046d3a000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_bmap_alloc+0x75c/0x880 fs/hfs/btree.c:291 hfs_btree_inc_height.isra.0+0x100/0x830 fs/hfs/brec.c:471 hfs_brec_insert+0x81f/0xb90 fs/hfs/brec.c:148 __hfs_ext_write_extent+0x3fa/0x520 fs/hfs/extent.c:124 hfs_ext_write_extent+0x1b7/0x200 fs/hfs/extent.c:144 hfs_write_inode+0xc4/0xbf0 fs/hfs/inode.c:427 write_inode fs/fs-writeback.c:1497 [inline] __writeback_single_inode+0xb36/0xf90 fs/fs-writeback.c:1716 writeback_sb_inodes+0x611/0x1150 fs/fs-writeback.c:1947 wb_writeback+0x199/0xb50 fs/fs-writeback.c:2127 wb_do_writeback fs/fs-writeback.c:2274 [inline] wb_workfn+0x28d/0xf40 fs/fs-writeback.c:2314 process_one_work+0x958/0x1ad0 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244