hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 9 at fs/hfs/bnode.c:422 hfs_bnode_create+0x3ad/0x440 fs/hfs/bnode.c:421 Modules linked in: CPU: 1 PID: 9 Comm: kworker/u4:0 Not tainted 6.1.86-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: writeback wb_workfn (flush-7:1) RIP: 0010:hfs_bnode_create+0x3ad/0x440 fs/hfs/bnode.c:422 Code: 8b 44 89 e6 e8 34 f3 26 08 e9 7c fd ff ff e8 ca 0d 29 ff 4c 89 ff e8 22 38 33 08 48 c7 c7 00 77 02 8b 44 89 e6 e8 13 f3 26 08 <0f> 0b eb b5 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 89 fc ff ff 48 89 RSP: 0000:ffffc900000e6e18 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff8880714c7b00 RCX: ca739501c62a3c00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff816e2d8c R09: fffff5200001cd65 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88805667c000 R15: ffff88805667c0e0 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7029004000 CR3: 0000000072f38000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_bmap_alloc+0x5a2/0x640 fs/hfs/btree.c:291 hfs_btree_inc_height+0x11a/0xd20 fs/hfs/brec.c:471 hfs_brec_insert+0x71f/0xbd0 fs/hfs/brec.c:148 __hfs_ext_write_extent+0x2f2/0x4f0 fs/hfs/extent.c:124 hfs_ext_write_extent+0x150/0x1d0 fs/hfs/extent.c:144 hfs_write_inode+0xb8/0xec0 fs/hfs/inode.c:431 write_inode fs/fs-writeback.c:1460 [inline] __writeback_single_inode+0x67d/0x11e0 fs/fs-writeback.c:1677 writeback_sb_inodes+0xc2b/0x1b20 fs/fs-writeback.c:1903 wb_writeback+0x49d/0xe10 fs/fs-writeback.c:2077 wb_do_writeback fs/fs-writeback.c:2220 [inline] wb_workfn+0x427/0x1020 fs/fs-writeback.c:2260 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308