loop8: detected capacity change from 0 to 64 hfs: new node 0 already hashed? ------------[ cut here ]------------ WARNING: fs/hfs/bnode.c:520 at hfs_bnode_create+0x461/0x4f0 fs/hfs/bnode.c:520, CPU#0: syz.8.1062/11646 Modules linked in: CPU: 0 UID: 0 PID: 11646 Comm: syz.8.1062 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:hfs_bnode_create+0x461/0x4f0 fs/hfs/bnode.c:520 Code: c1 8b 89 ee e8 60 c4 8b fe e9 cf fc ff ff e8 96 dc 23 ff 4c 89 ef e8 3e bd e9 08 48 c7 c7 e0 d8 c1 8b 89 ee e8 40 c4 8b fe 90 <0f> 0b 90 eb b0 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c d6 fb ff ff RSP: 0018:ffffc9000a927320 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff88807c808000 RCX: 2f734bddd8e5ae00 RDX: ffffc9000e6a3000 RSI: 0000000000001ad1 RDI: 0000000000001ad2 RBP: 0000000000000000 R08: ffffc9000a927047 R09: 1ffff92001524e08 R10: dffffc0000000000 R11: fffff52001524e09 R12: 0000000000000000 R13: ffff88807c8080e0 R14: ffff888027648100 R15: dffffc0000000000 FS: 00007fef834ae6c0(0000) GS:ffff8881259e8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33722ff8 CR3: 000000005d7f8000 CR4: 00000000003526f0 DR0: 0000000000000002 DR1: 0000000000000005 DR2: 8000000000000000 DR3: 1000000100000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: hfs_bmap_alloc+0x5bb/0x640 fs/hfs/btree.c:326 hfs_bnode_split+0xcc/0xef0 fs/hfsplus/brec.c:245 hfs_brec_insert+0x377/0xbd0 fs/hfs/brec.c:102 hfs_cat_create+0x461/0x640 fs/hfs/catalog.c:131 hfs_create+0x66/0xe0 fs/hfs/dir.c:202 lookup_open fs/namei.c:3716 [inline] open_last_lookups fs/namei.c:3815 [inline] path_openat+0x14f4/0x3830 fs/namei.c:4051 do_filp_open+0x1fa/0x410 fs/namei.c:4081 do_sys_openat2+0x121/0x1c0 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+0x138/0x170 fs/open.c:1461 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fef8258eba9 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:00007fef834ae038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fef827d5fa0 RCX: 00007fef8258eba9 RDX: 0000000000103a42 RSI: 0000200000000440 RDI: ffffffffffffff9c RBP: 00007fef82611e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fef827d6038 R14: 00007fef827d5fa0 R15: 00007ffc376d8708