------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:482! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 8870 Comm: syz-executor255 Not tainted 4.14.301-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 task: ffff8880ab5d8200 task.stack: ffff8880937a8000 RIP: 0010:hfs_bnode_put+0x1cc/0x220 fs/hfs/bnode.c:482 RSP: 0018:ffff8880937af590 EFLAGS: 00010297 RAX: ffff8880ab5d8200 RBX: ffff8880abb1a540 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880abca9600 RBP: ffff8880abca9600 R08: ffffffff8b9ad508 R09: 0000000000000003 R10: 0000000000000000 R11: ffff8880ab5d8200 R12: ffff8880abb1a540 R13: ffff8880abca9678 R14: ffff8880abca9600 R15: 00000000000000f8 FS: 00007f3bda92e700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3bda92e718 CR3: 00000000af1de000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_bmap_alloc+0x422/0x530 fs/hfs/btree.c:287 hfs_bnode_split+0xad/0xcf0 fs/hfsplus/brec.c:244 hfs_brec_insert+0x27c/0xa70 fs/hfs/brec.c:102 hfs_cat_create+0x3b1/0x920 fs/hfs/catalog.c:118 hfs_create+0x63/0xe0 fs/hfs/dir.c:208 lookup_open+0x77a/0x1750 fs/namei.c:3241 do_last fs/namei.c:3334 [inline] path_openat+0xe08/0x2970 fs/namei.c:3571 do_filp_open+0x179/0x3c0 fs/namei.c:3605 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f3be2d9b899 RSP: 002b:00007f3bda92e2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f3be2e207b0 RCX: 00007f3be2d9b899 RDX: 0000000000141842 RSI: 0000000020000380 RDI: 00000000ffffff9c RBP: 00007f3be2ded544 R08: 00007f3bda92e700 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e R13: f6f2cbf92df09e20 R14: 0031656c69662f2e R15: 00007f3be2e207b8 Code: 66 80 ff 48 89 ef e8 a4 f9 ff ff 48 8b 3c 24 e8 cb d4 4f 05 48 89 ef e8 83 67 00 00 48 89 ef e8 6b fb ff ff eb c5 e8 84 66 80 ff <0f> 0b 4c 89 ef e8 0a 27 aa ff e9 96 fe ff ff e8 70 27 aa ff e9 RIP: hfs_bnode_put+0x1cc/0x220 fs/hfs/bnode.c:482 RSP: ffff8880937af590 ---[ end trace fd06b4e609583ba0 ]---