hfsplus: new node 0 already hashed? ------------[ cut here ]------------ 1 WARNING: fs/hfsplus/bnode.c:634 at hfsplus_bnode_create+0x45d/0x4f0 fs/hfsplus/bnode.c:634, CPU#1: syz.6.792/13629 Modules linked in: CPU: 1 UID: 0 PID: 13629 Comm: syz.6.792 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 RIP: 0010:hfsplus_bnode_create+0x45d/0x4f0 fs/hfsplus/bnode.c:634 Code: 87 8b 89 ee e8 34 31 7f fe e9 cf fc ff ff e8 da 03 1d ff 4c 89 f7 e8 22 2f 9c 08 48 c7 c7 a0 bc 87 8b 89 ee e8 14 31 7f fe 90 <0f> 0b 90 49 c7 c5 ef ff ff ff eb a9 44 89 f9 80 e1 07 80 c1 03 38 RSP: 0018:ffffc900056f72a0 EFLAGS: 00010246 RAX: 0000000000000023 RBX: dffffc0000000000 RCX: 5c5d35ad49e79400 RDX: ffffc90012b07000 RSI: 0000000000000c83 RDI: 0000000000000c84 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000adee05 R12: 0000000000000000 R13: ffff8880641ca000 R14: ffff8880641ca0d0 R15: ffff88803cf49800 FS: 00007f006f3066c0(0000) GS:ffff888125d49000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000006015c000 CR4: 00000000003526f0 Call Trace: hfs_bnode_split+0xd2/0x1070 fs/hfsplus/brec.c:248 hfsplus_brec_insert+0x3bb/0xde0 fs/hfsplus/brec.c:100 hfsplus_create_cat+0xa7e/0x1240 fs/hfsplus/catalog.c:308 hfsplus_mknod+0x184/0x3c0 fs/hfsplus/dir.c:532 lookup_open fs/namei.c:4508 [inline] open_last_lookups fs/namei.c:4608 [inline] path_openat+0x1344/0x3850 fs/namei.c:4860 do_file_open+0x23e/0x4a0 fs/namei.c:4892 do_sys_openat2+0x115/0x200 fs/open.c:1368 do_sys_open fs/open.c:1374 [inline] __do_sys_openat fs/open.c:1390 [inline] __se_sys_openat fs/open.c:1385 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1385 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f00710ade59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f006f306028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f0071335fa0 RCX: 00007f00710ade59 RDX: 0000000000143042 RSI: 0000200000000040 RDI: ffffffffffffff9c RBP: 00007f0071143e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0071336038 R14: 00007f0071335fa0 R15: 00007fff53e35ff8