hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5064 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x14c/0x530 fs/hfsplus/bnode.c:573 Modules linked in: CPU: 0 PID: 5064 Comm: syz-executor235 Not tainted 6.7.0-rc8-syzkaller-00024-gac865f00af29 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:hfsplus_bnode_create+0x14c/0x530 fs/hfsplus/bnode.c:573 Code: 36 2e ff 45 39 fc 75 9e e8 d1 3b 2e ff 4c 89 f7 e8 a9 b1 2a 08 e8 c4 3b 2e ff 44 89 e6 48 c7 c7 c0 b6 e7 8a e8 e5 17 11 ff 90 <0f> 0b 90 e8 ac 3b 2e ff 48 89 d8 48 83 c4 18 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc9000349f198 EFLAGS: 00010286 RAX: 0000000000000023 RBX: ffff88801fe9f200 RCX: ffffffff816957c9 RDX: 0000000000000000 RSI: ffffffff8169dc72 RDI: 0000000000000005 RBP: ffff88801ff3a000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88801ff3a0e0 R15: 0000000000000000 FS: 0000555556f7d380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f53f7047c00 CR3: 000000001f2eb000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_bmap_alloc+0x728/0x830 fs/hfsplus/btree.c:415 hfs_bnode_split+0xe5/0xdc0 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2f7/0xc50 fs/hfsplus/brec.c:100 hfsplus_create_cat+0x50d/0x10d0 fs/hfsplus/catalog.c:292 hfsplus_fill_super+0x16ca/0x1bc0 fs/hfsplus/super.c:560 mount_bdev+0x1f3/0x2e0 fs/super.c:1650 legacy_get_tree+0x109/0x220 fs/fs_context.c:662 vfs_get_tree+0x8c/0x370 fs/super.c:1771 do_new_mount fs/namespace.c:3337 [inline] path_mount+0x1492/0x1ed0 fs/namespace.c:3664 do_mount fs/namespace.c:3677 [inline] __do_sys_mount fs/namespace.c:3886 [inline] __se_sys_mount fs/namespace.c:3863 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:3863 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f53ff40812a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffdaab27d38 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffdaab27d50 RCX: 00007f53ff40812a RDX: 0000000020000040 RSI: 0000000020000080 RDI: 00007ffdaab27d50 RBP: 0000000000000004 R08: 00007ffdaab27d90 R09: 000000000000064b R10: 0000000000208010 R11: 0000000000000286 R12: 0000000000208010 R13: 00007ffdaab27d90 R14: 0000000000000003 R15: 0000000000080000