loop0: detected capacity change from 0 to 1024 hfsplus: new node 0 already hashed? ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5057 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x14c/0x530 fs/hfsplus/bnode.c:573 Modules linked in: CPU: 0 PID: 5057 Comm: syz-executor113 Not tainted 6.7.0-syzkaller-12377-g9d1694dc91ce #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:hfsplus_bnode_create+0x14c/0x530 fs/hfsplus/bnode.c:573 Code: f7 2a ff 45 39 fc 75 9e e8 31 fc 2a ff 4c 89 f7 e8 49 25 33 08 e8 24 fc 2a ff 44 89 e6 48 c7 c7 40 2b e8 8a e8 f5 bf 0d ff 90 <0f> 0b 90 e8 0c fc 2a ff 48 89 d8 48 83 c4 18 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc90003b1f180 EFLAGS: 00010286 RAX: 0000000000000023 RBX: ffff888016eedbb0 RCX: ffffffff816afbf9 RDX: 0000000000000000 RSI: ffffffff816b80c2 RDI: 0000000000000005 RBP: ffff8880236d0000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880236d00e0 R15: 0000000000000000 FS: 000055555665d380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f093ebaeae0 CR3: 0000000075e56000 CR4: 0000000000350ef0 Call Trace: hfsplus_bmap_alloc+0x728/0x830 fs/hfsplus/btree.c:415 hfs_bnode_split+0xe5/0xdc0 fs/hfsplus/brec.c:245 hfsplus_brec_insert+0x2f7/0xc50 fs/hfsplus/brec.c:100 hfsplus_create_cat+0x50d/0x10d0 fs/hfsplus/catalog.c:292 hfsplus_fill_super+0x16ca/0x1bc0 fs/hfsplus/super.c:560 mount_bdev+0x1df/0x2d0 fs/super.c:1663 legacy_get_tree+0x109/0x220 fs/fs_context.c:662 vfs_get_tree+0x8c/0x370 fs/super.c:1784 do_new_mount fs/namespace.c:3352 [inline] path_mount+0x14e6/0x1f20 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f7a8236cc7a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007ffed6afe878 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffed6afe890 RCX: 00007f7a8236cc7a RDX: 0000000020000000 RSI: 0000000020000040 RDI: 00007ffed6afe890 RBP: 0000000000000004 R08: 00007ffed6afe8d0 R09: 0000000000000646 R10: 0000000002000010 R11: 0000000000000286 R12: 0000000002000010 R13: 00007ffed6afe8d0 R14: 0000000000000003 R15: 0000000000080000