hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 2 PID: 1091 at fs/hfs/bnode.c:422 hfs_bnode_create+0x14c/0x530 fs/hfs/bnode.c:422 Modules linked in: CPU: 2 PID: 1091 Comm: kworker/u32:5 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #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+0x14c/0x530 fs/hfs/bnode.c:422 Code: c2 20 ff 45 39 fc 75 9e e8 b1 c8 20 ff 4c 89 f7 e8 89 85 7e 08 e8 a4 c8 20 ff 44 89 e6 48 c7 c7 80 dc 48 8b e8 65 37 01 ff 90 <0f> 0b 90 e8 8c c8 20 ff 48 89 d8 48 83 c4 18 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc900047c7110 EFLAGS: 00010286 RAX: 000000000000001f RBX: ffff888025ad3500 RCX: ffffffff816e69b9 RDX: 0000000000000000 RSI: ffffffff816ef706 RDI: 0000000000000005 RBP: ffff8880129e6000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000003 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880129e60e0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31c3b000 CR3: 000000002c5a8000 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/0x9f0 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+0x9fb/0x1b60 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