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.4.85/6409 Modules linked in: CPU: 1 UID: 0 PID: 6409 Comm: syz.4.85 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:hfsplus_bnode_create+0x45d/0x4f0 fs/hfsplus/bnode.c:634 Code: 87 8b 89 ee e8 f4 3f 7e fe e9 cf fc ff ff e8 fa a7 1c ff 4c 89 f7 e8 82 c5 9c 08 48 c7 c7 20 d0 87 8b 89 ee e8 d4 3f 7e 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:ffffc9000628f280 EFLAGS: 00010246 RAX: 0000000000000023 RBX: dffffc0000000000 RCX: 13a372e85f2f3000 RDX: ffffc9000ec9d000 RSI: 0000000000004c1d RDI: 0000000000004c1e RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000c51e01 R12: 0000000000000000 R13: ffff88806606a000 R14: ffff88806606a0d0 R15: ffff888026624000 FS: 00007fa38e3556c0(0000) GS:ffff888125d46000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe6246b6000 CR3: 000000003459a000 CR4: 00000000003526f0 Call Trace: hfs_btree_inc_height+0xf9/0xb50 fs/hfsplus/brec.c:483 hfsplus_brec_insert+0x13f/0xde0 fs/hfsplus/brec.c:75 hfsplus_create_attr_nolock+0x1d5/0x690 fs/hfsplus/attributes.c:250 hfsplus_create_attr+0x213/0x3a0 fs/hfsplus/attributes.c:292 __hfsplus_setxattr+0x706/0x2800 fs/hfsplus/xattr.c:453 hfsplus_initxattrs+0x1ae/0x280 fs/hfsplus/xattr_security.c:59 security_inode_init_security+0x29b/0x3e0 security/security.c:1370 hfsplus_mknod+0x1de/0x3c0 fs/hfsplus/dir.c:536 hfsplus_mkdir+0x2c/0x40 fs/hfsplus/dir.c:573 vfs_mkdir+0x402/0x620 fs/namei.c:5276 filename_mkdirat+0x289/0x520 fs/namei.c:5309 __do_sys_mkdirat fs/namei.c:5330 [inline] __se_sys_mkdirat+0x35/0x150 fs/namei.c:5327 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:0x7fa39011cf47 Code: 00 66 90 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 db f7 ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 b8 02 01 00 00 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:00007fa38e354e58 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007fa38e354ee0 RCX: 00007fa39011cf47 RDX: 00000000000001ff RSI: 00002000000005c0 RDI: 00000000ffffff9c RBP: 0000200000000800 R08: 0000200000000140 R09: 0000000000000000 R10: 0000200000000800 R11: 0000000000000246 R12: 00002000000005c0 R13: 00007fa38e354ea0 R14: 0000000000000000 R15: 0000000000000000