loop2: detected capacity change from 0 to 64 hfs: new node 2 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7625 at fs/hfs/bnode.c:520 hfs_bnode_create+0x3b9/0x440 fs/hfs/bnode.c:519 Modules linked in: CPU: 1 PID: 7625 Comm: syz.2.481 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:hfs_bnode_create+0x3b9/0x440 fs/hfs/bnode.c:520 Code: ca c0 8a 89 ee e8 17 f9 0c 08 e9 73 fd ff ff e8 0d be 2f ff 4c 89 ef e8 a5 ee 21 08 48 c7 c7 00 cb c0 8a 89 ee e8 f7 f8 0c 08 <0f> 0b eb b7 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 7f fc ff ff 4c RSP: 0018:ffffc900050af7b8 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff88807b5f4000 RCX: 0780f2b7f9618e00 RDX: ffffc9000da14000 RSI: 000000000001a81c RDI: 000000000001a81d RBP: 0000000000000002 R08: ffffc900050af4c7 R09: 1ffff92000a15e98 R10: dffffc0000000000 R11: fffff52000a15e99 R12: 0000000000000002 R13: ffff88807b5f40e0 R14: ffff8880243fb600 R15: dffffc0000000000 FS: 00007fe1cddad6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffc8e7ff58 CR3: 000000006524e000 CR4: 00000000003506e0 Call Trace: hfs_bmap_alloc+0x53b/0x5c0 fs/hfs/btree.c:326 hfs_bnode_split+0xcd/0xee0 fs/hfsplus/brec.c:245 hfs_brec_insert+0x378/0xbd0 fs/hfs/brec.c:102 hfs_cat_create+0x45a/0x620 fs/hfs/catalog.c:131 hfs_mkdir+0x6c/0xe0 fs/hfs/dir.c:232 vfs_mkdir+0x296/0x440 fs/namei.c:4113 do_mkdirat+0x1d4/0x440 fs/namei.c:4136 __do_sys_mkdirat fs/namei.c:4151 [inline] __se_sys_mkdirat fs/namei.c:4149 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4149 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fe1ccf8d417 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:00007fe1cddace68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007fe1cddacef0 RCX: 00007fe1ccf8d417 RDX: 00000000000001ff RSI: 0000200000000100 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000200000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000100 R13: 00007fe1cddaceb0 R14: 0000000000000000 R15: 0000000000000000