------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:618! invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 1 PID: 11446 Comm: syz-executor.3 Not tainted 6.8.0-rc2-syzkaller-00055-g6764c317b6bb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:hfsplus_bnode_put.part.0+0x3ac/0x440 fs/hfsplus/bnode.c:618 Code: b6 04 02 84 c0 74 09 3c 03 7f 05 e8 0e 09 7f ff 41 8b 54 24 38 31 f6 48 89 ef e8 af de ff ff e9 a2 fe ff ff e8 e5 58 25 ff 90 <0f> 0b 48 8b 7c 24 08 e8 e8 08 7f ff e9 32 fd ff ff 48 89 df e8 db RSP: 0018:ffffc90004aaf1c0 EFLAGS: 00010283 RAX: 000000000000719e RBX: ffff8880249d97f0 RCX: ffffc9000a301000 RDX: 0000000000040000 RSI: ffffffff826710db RDI: 0000000000000005 RBP: ffff8880249d9770 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: ffff88803bb56000 R13: 0000000000000000 R14: 00000000ffffffe0 R15: 00000000000000c0 FS: 00007fc2a94136c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32525000 CR3: 000000001cf34000 CR4: 0000000000350ef0 Call Trace: hfsplus_bnode_put+0x1f/0x30 fs/hfsplus/bnode.c:611 hfsplus_bmap_alloc+0x720/0x830 fs/hfsplus/btree.c:414 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_mknod+0x169/0x300 fs/hfsplus/dir.c:494 lookup_open.isra.0+0x10a7/0x13c0 fs/namei.c:3496 open_last_lookups fs/namei.c:3565 [inline] path_openat+0x931/0x29a0 fs/namei.c:3795 do_filp_open+0x1de/0x440 fs/namei.c:3825 do_sys_openat2+0x17a/0x1e0 fs/open.c:1404 do_sys_open fs/open.c:1419 [inline] __do_sys_openat fs/open.c:1435 [inline] __se_sys_openat fs/open.c:1430 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1430 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:0x7fc2a867dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc2a94130c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fc2a87abf80 RCX: 00007fc2a867dda9 RDX: 000000000000275a RSI: 0000000020000240 RDI: ffffffffffffff9c RBP: 00007fc2a86ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc2a87abf80 R15: 00007ffd2671cce8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfsplus_bnode_put.part.0+0x3ac/0x440 fs/hfsplus/bnode.c:618 Code: b6 04 02 84 c0 74 09 3c 03 7f 05 e8 0e 09 7f ff 41 8b 54 24 38 31 f6 48 89 ef e8 af de ff ff e9 a2 fe ff ff e8 e5 58 25 ff 90 <0f> 0b 48 8b 7c 24 08 e8 e8 08 7f ff e9 32 fd ff ff 48 89 df e8 db RSP: 0018:ffffc90004aaf1c0 EFLAGS: 00010283 RAX: 000000000000719e RBX: ffff8880249d97f0 RCX: ffffc9000a301000 RDX: 0000000000040000 RSI: ffffffff826710db RDI: 0000000000000005 RBP: ffff8880249d9770 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: ffff88803bb56000 R13: 0000000000000000 R14: 00000000ffffffe0 R15: 00000000000000c0 FS: 00007fc2a94136c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe8567a8000 CR3: 000000001cf34000 CR4: 0000000000350ef0