loop0: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4319 at fs/hfsplus/bnode.c:590 hfsplus_bnode_create+0x3d1/0x450 fs/hfsplus/bnode.c:589 Modules linked in: CPU: 0 PID: 4319 Comm: syz.0.16 Not tainted 5.15.187-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:hfsplus_bnode_create+0x3d1/0x450 fs/hfsplus/bnode.c:590 Code: 67 1f 8a 89 ee e8 0f b4 73 07 e9 57 fd ff ff e8 25 68 4c ff 4c 89 ef e8 ad 9f 87 07 48 c7 c7 60 67 1f 8a 89 ee e8 ef b3 73 07 <0f> 0b eb b7 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 63 fc ff ff 4c RSP: 0018:ffffc9000313f410 EFLAGS: 00010246 RAX: 0000000000000023 RBX: ffff888076f3c000 RCX: 7655bba4e9c4a600 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10172067a8 R10: ffffed10172067a8 R11: 1ffff110172067a7 R12: 0000000000000000 R13: ffff888076f3c0e0 R14: ffff88802af09a00 R15: dffffc0000000000 FS: 000055557b136500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3035ffff CR3: 0000000075762000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_bmap_alloc+0x594/0x640 fs/hfsplus/btree.c:414 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_link+0x3e1/0x700 fs/hfsplus/dir.c:342 vfs_link+0x615/0x7c0 fs/namei.c:4557 do_linkat+0x277/0x7b0 fs/namei.c:4628 __do_sys_link fs/namei.c:4662 [inline] __se_sys_link fs/namei.c:4660 [inline] __x64_sys_link+0x82/0x90 fs/namei.c:4660 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fb8fbfa7929 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:00007fff7ace32f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000056 RAX: ffffffffffffffda RBX: 00007fb8fc1cefa0 RCX: 00007fb8fbfa7929 RDX: 0000000000000000 RSI: 0000200000000440 RDI: 00002000000002c0 RBP: 00007fb8fc029b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb8fc1cefa0 R14: 00007fb8fc1cefa0 R15: 0000000000000002