loop0: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5075 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x14c/0x530 fs/hfsplus/bnode.c:573 Modules linked in: CPU: 1 PID: 5075 Comm: syz-executor153 Not tainted 6.8.0-rc4-syzkaller-00267-g0f1dd5e91e2b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:hfsplus_bnode_create+0x14c/0x530 fs/hfsplus/bnode.c:573 Code: 37 25 ff 45 39 fc 75 9e e8 41 3d 25 ff 4c 89 f7 e8 e9 cf 60 08 e8 34 3d 25 ff 44 89 e6 48 c7 c7 40 89 28 8b e8 b5 27 07 ff 90 <0f> 0b 90 e8 1c 3d 25 ff 48 89 d8 48 83 c4 18 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc900043f7510 EFLAGS: 00010286 RAX: 0000000000000023 RBX: ffff88801aa85220 RCX: ffffffff816e74a9 RDX: 0000000000000000 RSI: ffffffff816efd26 RDI: 0000000000000005 RBP: ffff888022f14000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888022f140e0 R15: 0000000000000000 FS: 000055555579c380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d6ab1da420 CR3: 0000000077d88000 CR4: 0000000000350ef0 Call Trace: hfsplus_bmap_alloc+0x72c/0x830 fs/hfsplus/btree.c:415 hfs_bnode_split+0xe5/0xdd0 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2f7/0xc50 fs/hfsplus/brec.c:100 hfsplus_create_cat+0xc6b/0x10d0 fs/hfsplus/catalog.c:308 hfsplus_link+0x514/0x770 fs/hfsplus/dir.c:342 vfs_link+0x844/0xdf0 fs/namei.c:4604 do_linkat+0x553/0x600 fs/namei.c:4675 __do_sys_link fs/namei.c:4709 [inline] __se_sys_link fs/namei.c:4707 [inline] __x64_sys_link+0x81/0xa0 fs/namei.c:4707 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd8/0x270 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7fb7493f5a59 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd35146158 EFLAGS: 00000246 ORIG_RAX: 0000000000000056 RAX: ffffffffffffffda RBX: 00007fb74943e0c0 RCX: 00007fb7493f5a59 RDX: 0000000000000000 RSI: 0000000020000440 RDI: 00000000200002c0 RBP: 00007fb7494695f0 R08: 000000000000063a R09: 000055555579d4c0 R10: 00007ffd35146020 R11: 0000000000000246 R12: 00007ffd35146180 R13: 00007ffd351463a8 R14: 431bde82d7b634db R15: 00007fb74943e03b