hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 10538 at fs/hfsplus/bnode.c:630 hfsplus_bnode_create+0x37a/0x400 fs/hfsplus/bnode.c:629 Modules linked in: CPU: 0 PID: 10538 Comm: syz.8.1271 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:hfsplus_bnode_create+0x37a/0x400 fs/hfsplus/bnode.c:630 Code: 83 82 8a 89 ee e8 16 a8 bf 07 e9 ab fd ff ff e8 cc 21 3b ff 48 89 df e8 a4 be d4 07 48 c7 c7 60 83 82 8a 89 ee e8 f6 a7 bf 07 <0f> 0b eb b7 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c b7 fc ff ff 4c RSP: 0018:ffffc90004b7f160 EFLAGS: 00010246 RAX: 0000000000000023 RBX: ffff888064d980e0 RCX: 50ab57973a440d00 RDX: ffffc900059f1000 RSI: 0000000000007e89 RDI: 0000000000007e8a RBP: 0000000000000000 R08: dffffc0000000000 R09: fffff5200096fdcd R10: fffff5200096fdcd R11: 1ffff9200096fdcc R12: 0000000000000000 R13: ffff888064d98000 R14: ffff888024399f00 R15: dffffc0000000000 FS: 00007f4d519446c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f02c65156c0 CR3: 000000007cebb000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_bmap_alloc+0x609/0x9b0 fs/hfsplus/btree.c:421 hfs_bnode_split+0xc9/0xee0 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x38b/0xcc0 fs/hfsplus/brec.c:100 hfsplus_create_cat+0x9dc/0x1020 fs/hfsplus/catalog.c:308 hfsplus_mknod+0x166/0x280 fs/hfsplus/dir.c:494 lookup_open fs/namei.c:3490 [inline] open_last_lookups fs/namei.c:3558 [inline] path_openat+0x1187/0x2e70 fs/namei.c:3788 do_filp_open+0x1c1/0x3c0 fs/namei.c:3818 do_sys_openat2+0x142/0x490 fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_creat fs/open.c:1414 [inline] __se_sys_creat fs/open.c:1408 [inline] __x64_sys_creat+0x8c/0xb0 fs/open.c:1408 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f4d50b8f749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4d51944038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f4d50de5fa0 RCX: 00007f4d50b8f749 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000e00 RBP: 00007f4d50c13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4d50de6038 R14: 00007f4d50de5fa0 R15: 00007ffce6a22f38