loop0: detected capacity change from 0 to 64 hfs: new node 0 already hashed? ------------[ cut here ]------------ 1 WARNING: fs/hfs/bnode.c:520 at hfs_bnode_create.cold+0x41/0x49 fs/hfs/bnode.c:520, CPU#1: syz.0.17/6006 Modules linked in: CPU: 1 UID: 0 PID: 6006 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 RIP: 0010:hfs_bnode_create.cold+0x41/0x49 fs/hfs/bnode.c:520 Code: b5 d3 50 0a e9 d7 4e ca 01 e8 7b 79 df 00 4c 89 f7 e8 a3 d3 50 0a e8 6e 79 df 00 89 ee 48 c7 c7 a0 11 b1 8b e8 80 e1 fa ff 90 <0f> 0b 90 e9 d9 51 ca 01 e8 52 79 df 00 e8 4d 98 4d 00 e9 35 54 ca RSP: 0018:ffffc90003d2f838 EFLAGS: 00010282 RAX: 000000000000001f RBX: ffff888030269100 RCX: 0000000000000000 RDX: 000000000000001f RSI: ffffffff81e5b709 RDI: fffff520007a5ef8 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff888031ba2000 R14: ffff888031ba20e0 R15: 0000000000000000 FS: 0000555588982500(0000) GS:ffff8881246dc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000000 CR3: 000000007922d000 CR4: 0000000000350ef0 Call Trace: hfs_bmap_alloc+0x5a7/0x6b0 fs/hfs/btree.c:326 hfs_bnode_split+0xda/0xf30 fs/hfsplus/brec.c:245 hfs_brec_insert+0x2da/0xc20 fs/hfs/brec.c:102 hfs_cat_create+0x477/0x980 fs/hfs/catalog.c:118 hfs_mkdir+0x6f/0xe0 fs/hfs/dir.c:232 vfs_mkdir+0x729/0xb50 fs/namei.c:5139 do_mkdirat+0x435/0x590 fs/namei.c:5173 __do_sys_mkdirat fs/namei.c:5195 [inline] __se_sys_mkdirat fs/namei.c:5193 [inline] __x64_sys_mkdirat+0x112/0x170 fs/namei.c:5193 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc9/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff1b819aeb9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffe8a11c28 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007ff1b8415fa0 RCX: 00007ff1b819aeb9 RDX: 0000000000000000 RSI: 0000200000000000 RDI: ffffffffffffff9c RBP: 00007ff1b8208c1f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff1b8415fac R14: 00007ff1b8415fa0 R15: 00007ff1b8415fa0