------------[ cut here ]------------ kernel BUG at fs/hfsplus/bnode.c:618! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 PID: 5579 Comm: syz-executor.0 Not tainted 6.9.0-syzkaller-01768-ga5131c3fdf26 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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 ce 63 7d ff 41 8b 54 24 38 31 f6 48 89 ef e8 7f de ff ff e9 a2 fe ff ff e8 75 18 22 ff 90 <0f> 0b 48 8b 7c 24 08 e8 a8 63 7d ff e9 32 fd ff ff 48 89 df e8 9b RSP: 0018:ffffc90002d8f880 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88802399cc80 RCX: ffffc90003511000 RDX: 0000000000040000 RSI: ffffffff826bdfbb RDI: 0000000000000005 RBP: ffff88802399cc00 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000003 R12: ffff88802464e000 R13: 0000000000000000 R14: 0000000006000000 R15: ffff888078687800 FS: 00007fb70fe246c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558bbdf8f8 CR3: 0000000057e98000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_bnode_put+0x1f/0x30 fs/hfsplus/bnode.c:611 hfsplus_btree_write+0x3b1/0x490 fs/hfsplus/btree.c:309 hfsplus_system_write_inode fs/hfsplus/super.c:136 [inline] hfsplus_write_inode fs/hfsplus/super.c:162 [inline] hfsplus_write_inode+0x306/0x4f0 fs/hfsplus/super.c:147 write_inode fs/fs-writeback.c:1497 [inline] __writeback_single_inode+0xb36/0xf90 fs/fs-writeback.c:1716 writeback_single_inode+0x2b5/0x5a0 fs/fs-writeback.c:1772 sync_inode_metadata+0xa5/0xf0 fs/fs-writeback.c:2842 hfsplus_file_fsync+0x115/0x5d0 fs/hfsplus/inode.c:317 vfs_fsync_range+0x141/0x230 fs/sync.c:188 generic_write_sync include/linux/fs.h:2811 [inline] generic_file_write_iter+0x2ac/0x350 mm/filemap.c:4099 call_write_iter include/linux/fs.h:2120 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x6b6/0x1120 fs/read_write.c:590 ksys_write+0x12f/0x260 fs/read_write.c:643 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:0x7fb70f07dd69 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:00007fb70fe240c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fb70f1abf80 RCX: 00007fb70f07dd69 RDX: 00000000000101bf RSI: 0000000020000380 RDI: 0000000000000007 RBP: 00007fb70f0ca49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fb70f1abf80 R15: 00007ffdb14e3998 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 ce 63 7d ff 41 8b 54 24 38 31 f6 48 89 ef e8 7f de ff ff e9 a2 fe ff ff e8 75 18 22 ff 90 <0f> 0b 48 8b 7c 24 08 e8 a8 63 7d ff e9 32 fd ff ff 48 89 df e8 9b RSP: 0018:ffffc90002d8f880 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88802399cc80 RCX: ffffc90003511000 RDX: 0000000000040000 RSI: ffffffff826bdfbb RDI: 0000000000000005 RBP: ffff88802399cc00 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000003 R12: ffff88802464e000 R13: 0000000000000000 R14: 0000000006000000 R15: ffff888078687800 FS: 00007fb70fe246c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000202a7030 CR3: 0000000057e98000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400