loop5: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5186 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x3ad/0x440 fs/hfsplus/bnode.c:572 Modules linked in: CPU: 0 PID: 5186 Comm: syz.5.157 Not tainted 6.1.134-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 04 49 4f 08 e9 7c fd ff ff e8 ea cd 2a ff 4c 89 ff e8 32 cf 5b 08 48 c7 c7 c0 c6 22 8b 44 89 e6 e8 e3 48 4f 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:ffffc9000507f518 EFLAGS: 00010246 RAX: 0000000000000023 RBX: ffff8880291ae600 RCX: 05d71f3285e9af00 RDX: ffffc9001c125000 RSI: 0000000000007cd5 RDI: 0000000000007cd6 RBP: 0000000000000000 R08: ffffffff816e30dc R09: fffff52000a0fe45 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888028d94000 R15: ffff888028d940e0 FS: 00007ff4622c56c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c331859 CR3: 000000007d304000 CR4: 00000000003526f0 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_bnode_split+0xda/0x1100 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x3a2/0xdd0 fs/hfsplus/brec.c:100 hfsplus_create_cat+0xeea/0x1ba0 fs/hfsplus/catalog.c:308 hfsplus_mknod+0x166/0x2a0 fs/hfsplus/dir.c:494 vfs_mkdir+0x3b6/0x590 fs/namei.c:4106 do_mkdirat+0x225/0x360 fs/namei.c:4131 __do_sys_mkdirat fs/namei.c:4146 [inline] __se_sys_mkdirat fs/namei.c:4144 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4144 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0x80 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff46138c9d7 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 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:00007ff4622c4e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007ff4622c4ef0 RCX: 00007ff46138c9d7 RDX: 00000000000001ff RSI: 0000200000000680 RDI: 00000000ffffff9c RBP: 0000200000000080 R08: 0000200000000d40 R09: 0000000000000000 R10: 0000200000000080 R11: 0000000000000246 R12: 0000200000000680 R13: 00007ff4622c4eb0 R14: 0000000000000000 R15: 0000000000000000