------------[ cut here ]------------ WARNING: CPU: 1 PID: 5182 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x14c/0x530 fs/hfsplus/bnode.c:573 Modules linked in: CPU: 1 PID: 5182 Comm: syz-executor175 Not tainted 6.9.0-rc7-syzkaller-00136-gf4345f05c0df #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:hfsplus_bnode_create+0x14c/0x530 fs/hfsplus/bnode.c:573 Code: 9f 22 ff 45 39 fc 75 9e e8 31 a5 22 ff 4c 89 f7 e8 f9 45 74 08 e8 24 a5 22 ff 44 89 e6 48 c7 c7 c0 77 48 8b e8 85 48 03 ff 90 <0f> 0b 90 e8 0c a5 22 ff 48 89 d8 48 83 c4 18 5b 5d 41 5c 41 5d 41 RSP: 0018:ffffc900032e7180 EFLAGS: 00010286 RAX: 0000000000000023 RBX: ffff888022ac2600 RCX: ffffffff816e81e9 RDX: 0000000000000000 RSI: ffffffff816f0f26 RDI: 0000000000000005 RBP: ffff88802bcba000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000060 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88802bcba0e0 R15: 0000000000000000 FS: 000055558047e380(0000) GS:ffff88806b300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c0fcfbf0b0 CR3: 000000002e0a0000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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+0x511/0x10d0 fs/hfsplus/catalog.c:292 hfsplus_fill_super+0x16ce/0x1bc0 fs/hfsplus/super.c:566 mount_bdev+0x1e3/0x2d0 fs/super.c:1658 legacy_get_tree+0x109/0x220 fs/fs_context.c:662 vfs_get_tree+0x8f/0x380 fs/super.c:1779 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+0x297/0x320 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f448fcb3c7a 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:00007fff4b671af8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fff4b671b10 RCX: 00007f448fcb3c7a RDX: 0000000020000040 RSI: 0000000020000080 RDI: 00007fff4b671b10 RBP: 0000000000000004 R08: 00007fff4b671b50 R09: 000000000000064b R10: 0000000000208010 R11: 0000000000000286 R12: 0000000000208010 R13: 00007fff4b671b50 R14: 0000000000000003 R15: 0000000000080000