hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 10588 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x14c/0x530 fs/hfsplus/bnode.c:573 Modules linked in: CPU: 1 UID: 0 PID: 10588 Comm: syz.4.866 Not tainted 6.13.0-rc6-syzkaller-00036-gfbfd64d25c7a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:hfsplus_bnode_create+0x14c/0x530 fs/hfsplus/bnode.c:573 Code: 9a 24 ff 45 39 fc 75 9e e8 01 a0 24 ff 4c 89 f7 e8 09 df b4 08 e8 f4 9f 24 ff 44 89 e6 48 c7 c7 40 c4 88 8b e8 f5 d3 03 ff 90 <0f> 0b 90 e8 dc 9f 24 ff 48 89 d8 48 83 c4 18 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc9000af87188 EFLAGS: 00010282 RAX: 0000000000000023 RBX: ffff88804900b500 RCX: ffffc9000da47000 RDX: 0000000000000000 RSI: ffffffff817a0796 RDI: 0000000000000005 RBP: ffff88805cd98000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000003 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88805cd980e0 R15: 0000000000000000 FS: 00007f24a35256c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000209cf000 CR3: 0000000048764000 CR4: 0000000000350ef0 Call Trace: hfsplus_bmap_alloc+0x72c/0x830 fs/hfsplus/btree.c:415 hfs_bnode_split+0xe5/0xdd0 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2f7/0xc50 fs/hfsplus/brec.c:100 hfsplus_create_cat+0x511/0x10e0 fs/hfsplus/catalog.c:292 hfsplus_fill_super+0x1713/0x1c10 fs/hfsplus/super.c:561 get_tree_bdev_flags+0x38e/0x620 fs/super.c:1636 vfs_get_tree+0x92/0x380 fs/super.c:1814 do_new_mount fs/namespace.c:3513 [inline] path_mount+0x14e6/0x1f10 fs/namespace.c:3840 do_mount fs/namespace.c:3853 [inline] __do_sys_mount fs/namespace.c:4063 [inline] __se_sys_mount fs/namespace.c:4040 [inline] __x64_sys_mount+0x294/0x320 fs/namespace.c:4040 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f24a27874ca Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f24a3524e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f24a3524ef0 RCX: 00007f24a27874ca RDX: 0000000020000000 RSI: 00000000200000c0 RDI: 00007f24a3524eb0 RBP: 0000000020000000 R08: 00007f24a3524ef0 R09: 000000000200c000 R10: 000000000200c000 R11: 0000000000000246 R12: 00000000200000c0 R13: 00007f24a3524eb0 R14: 00000000000006c9 R15: 0000000020000080