loop0: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 6072 at fs/hfsplus/bnode.c:671 hfsplus_bnode_create+0x14c/0x5f0 fs/hfsplus/bnode.c:671 Modules linked in: CPU: 1 UID: 0 PID: 6072 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:hfsplus_bnode_create+0x14c/0x5f0 fs/hfsplus/bnode.c:671 Code: e0 1d ff 45 39 fc 75 9e e8 31 e6 1d ff 4c 89 f7 e8 a9 fb f7 08 e8 24 e6 1d ff 44 89 e6 48 c7 c7 c0 3c ca 8b e8 35 96 fc fe 90 <0f> 0b 90 e8 0c e6 1d ff 48 89 d8 48 83 c4 28 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc90002fb71b8 EFLAGS: 00010282 RAX: 0000000000000023 RBX: ffff88807424e700 RCX: ffffffff819a5e09 RDX: 0000000000000000 RSI: ffffffff819adca6 RDI: 0000000000000005 RBP: ffff888028a68000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888028a680e0 R15: 0000000000000000 FS: 0000555569f2d500(0000) GS:ffff8881247b3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb177d8dd30 CR3: 0000000074039000 CR4: 0000000000350ef0 Call Trace: hfsplus_bmap_alloc+0x7a6/0x910 fs/hfsplus/btree.c:415 hfs_bnode_split+0xde/0xde0 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2f6/0xc50 fs/hfsplus/brec.c:100 hfsplus_create_cat+0xc57/0x10d0 fs/hfsplus/catalog.c:308 hfsplus_mknod+0x16c/0x300 fs/hfsplus/dir.c:494 lookup_open.isra.0+0x11d3/0x1580 fs/namei.c:3708 open_last_lookups fs/namei.c:3807 [inline] path_openat+0x893/0x2cb0 fs/namei.c:4043 do_filp_open+0x20b/0x470 fs/namei.c:4073 do_sys_openat2+0x11b/0x1d0 fs/open.c:1435 do_sys_open fs/open.c:1450 [inline] __do_sys_openat fs/open.c:1466 [inline] __se_sys_openat fs/open.c:1461 [inline] __x64_sys_openat+0x174/0x210 fs/open.c:1461 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f97ad18eec9 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:00007ffdc2d34978 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f97ad3e5fa0 RCX: 00007f97ad18eec9 RDX: 000000000000275a RSI: 0000200000000000 RDI: ffffffffffffff9c RBP: 00007f97ad211f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f97ad3e5fa0 R14: 00007f97ad3e5fa0 R15: 0000000000000004