hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 11062 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x3ad/0x440 fs/hfsplus/bnode.c:572 Modules linked in: CPU: 0 PID: 11062 Comm: syz.4.1639 Not tainted 6.1.129-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:hfsplus_bnode_create+0x3ad/0x440 fs/hfsplus/bnode.c:573 Code: 8b 44 89 e6 e8 94 e3 4e 08 e9 7c fd ff ff e8 ca a2 2a ff 4c 89 ff e8 f2 66 5b 08 48 c7 c7 80 d6 22 8b 44 89 e6 e8 73 e3 4e 08 <0f> 0b eb b5 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 89 fc ff ff 48 89 RSP: 0018:ffffc90005986fb8 EFLAGS: 00010246 RAX: 0000000000000023 RBX: ffff88814c7fcb00 RCX: f20b494d1f04c400 RDX: ffffc9000e621000 RSI: 0000000000003826 RDI: 0000000000003827 RBP: 0000000000000000 R08: ffffffff816e6edc R09: fffff52000b30d99 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888066696000 R15: ffff8880666960e0 FS: 00007f71475d66c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f795e7f6000 CR3: 0000000056ff8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_bmap_alloc+0x596/0x630 fs/hfsplus/btree.c:415 hfs_btree_inc_height+0x11a/0xdb0 fs/hfsplus/brec.c:475 hfsplus_brec_insert+0x162/0xdd0 fs/hfsplus/brec.c:75 hfsplus_create_attr+0x339/0x3d0 fs/hfsplus/attributes.c:252 __hfsplus_setxattr+0x6fa/0x22f0 fs/hfsplus/xattr.c:354 hfsplus_setxattr+0xe9/0x130 fs/hfsplus/xattr.c:434 hfsplus_trusted_setxattr+0x3c/0x50 fs/hfsplus/xattr_trusted.c:30 __vfs_setxattr+0x3e7/0x420 fs/xattr.c:182 __vfs_setxattr_noperm+0x12a/0x5e0 fs/xattr.c:216 vfs_setxattr+0x21d/0x420 fs/xattr.c:309 do_setxattr fs/xattr.c:594 [inline] setxattr+0x250/0x2b0 fs/xattr.c:617 path_setxattr+0x1bc/0x2a0 fs/xattr.c:636 __do_sys_lsetxattr fs/xattr.c:659 [inline] __se_sys_lsetxattr fs/xattr.c:655 [inline] __x64_sys_lsetxattr+0xb4/0xd0 fs/xattr.c:655 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f714678d169 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:00007f71475d6038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007f71469a5fa0 RCX: 00007f714678d169 RDX: 0000000000000000 RSI: 0000400000000140 RDI: 0000400000000100 RBP: 00007f714680e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f71469a5fa0 R15: 00007ffc932e94c8