------------[ cut here ]------------ WARNING: CPU: 1 PID: 7321 at fs/hfs/bnode.c:421 hfs_bnode_create+0x3d4/0x460 fs/hfs/bnode.c:420 Modules linked in: CPU: 1 PID: 7321 Comm: syz-executor.2 Not tainted 6.1.0-rc6-syzkaller-00315-gfaf68e3523c2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:hfs_bnode_create+0x3d4/0x460 fs/hfs/bnode.c:421 Code: 31 c0 e8 5b fe 31 08 e9 5f fd ff ff e8 55 6a 2c ff 4c 89 ff e8 3d 69 3d 08 48 c7 c7 20 de 07 8b 44 89 e6 31 c0 e8 38 fe 31 08 <0f> 0b eb b1 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 61 fc ff ff 48 89 RSP: 0018:ffffc9000a387750 EFLAGS: 00010246 RAX: 000000000000001f RBX: ffff888018a83500 RCX: 96ae9a0856aeed00 RDX: ffffc9000e11b000 RSI: 000000000003ae86 RDI: 000000000003ae87 RBP: 0000000000000000 R08: ffffffff816e55cd R09: fffff52001470ea1 R10: fffff52001470ea1 R11: 1ffff92001470ea0 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888079a70000 R15: ffff888079a700e0 FS: 00007fd386008700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2a967a8000 CR3: 000000007c402000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_bmap_alloc+0x598/0x620 fs/hfs/btree.c:291 hfs_bnode_split+0xc3/0x10c0 fs/hfsplus/brec.c:245 hfs_brec_insert+0x369/0xc00 fs/hfs/brec.c:102 hfs_cat_create+0x44e/0x8a0 fs/hfs/catalog.c:118 hfs_create+0x62/0xd0 fs/hfs/dir.c:202 vfs_create+0x302/0x490 fs/namei.c:3115 do_mknodat+0x412/0x6b0 fs/namei.c:3965 __do_sys_mknodat fs/namei.c:3993 [inline] __se_sys_mknodat fs/namei.c:3990 [inline] __x64_sys_mknodat+0xa5/0xc0 fs/namei.c:3990 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd38528c0d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007fd386008168 EFLAGS: 00000246 ORIG_RAX: 0000000000000103 RAX: ffffffffffffffda RBX: 00007fd3853ac120 RCX: 00007fd38528c0d9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007fd3852e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000705 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe28d9c33f R14: 00007fd386008300 R15: 0000000000022000