jump_label: Fatal kernel bug, unexpected op at kvm_set_cr8+0x29/0xc0 arch/x86/kvm/x86.c:1298 [ffffffff81104249] (eb 2a e8 80 38 != 66 90 0f 1f 00)) size:2 type:1 ------------[ cut here ]------------ kernel BUG at arch/x86/kernel/jump_label.c:73! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 UID: 0 PID: 11051 Comm: syz-executor.3 Not tainted 6.10.0-rc4-next-20240621-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__jump_label_patch+0x463/0x490 arch/x86/kernel/jump_label.c:73 Code: e8 52 ae 5f 00 48 c7 c7 e0 41 c5 8b 48 8b 0c 24 48 89 ce 48 89 ca 4d 89 e8 4c 8b 4c 24 08 41 54 e8 a2 a1 56 0a 48 83 c4 08 90 <0f> 0b e8 96 9b 59 0a e8 21 ae 5f 00 90 0f 0b e8 19 ae 5f 00 90 0f RSP: 0018:ffffc90003d9f880 EFLAGS: 00010292 RAX: 0000000000000089 RBX: 0000000000000085 RCX: 74171987b5db8200 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90003d9f9a8 R08: ffffffff81739789 R09: 1ffff920007b3eac R10: dffffc0000000000 R11: fffff520007b3ead R12: 0000000000000001 R13: ffffffff8bc56001 R14: ffffffff929c38a0 R15: ffffffff8bc56001 FS: 0000555575a90480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 000000006c0cc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_jump_label_transform_queue+0x68/0x100 arch/x86/kernel/jump_label.c:137 __jump_label_update+0x177/0x3a0 kernel/jump_label.c:493 __static_key_slow_dec_cpuslocked+0x250/0x410 kernel/jump_label.c:293 __static_key_slow_dec kernel/jump_label.c:301 [inline] static_key_slow_dec+0x51/0xa0 kernel/jump_label.c:316 kvm_arch_vcpu_destroy+0x101/0x230 arch/x86/kvm/x86.c:12333 kvm_vcpu_destroy arch/x86/kvm/../../../virt/kvm/kvm_main.c:510 [inline] kvm_destroy_vcpus+0xf7/0x280 arch/x86/kvm/../../../virt/kvm/kvm_main.c:530 kvm_arch_destroy_vm+0x344/0x430 arch/x86/kvm/x86.c:12821 kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1352 [inline] kvm_put_kvm+0xd5e/0x1300 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1388 kvm_vm_release+0x46/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1411 __fput+0x24a/0x8a0 fs/file_table.c:422 task_work_run+0x24f/0x310 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f742d47d0a9 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:00007ffe52da7ee8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f742d5b5980 RCX: 00007f742d47d0a9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f742d5b5980 R08: 7fffffffffffffff R09: 0000001700000000 R10: 0000001b2c960000 R11: 0000000000000246 R12: 00000000001248a5 R13: 00007f742d5b3f8c R14: 0000000000000032 R15: 00007f742d5b5980 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__jump_label_patch+0x463/0x490 arch/x86/kernel/jump_label.c:73 Code: e8 52 ae 5f 00 48 c7 c7 e0 41 c5 8b 48 8b 0c 24 48 89 ce 48 89 ca 4d 89 e8 4c 8b 4c 24 08 41 54 e8 a2 a1 56 0a 48 83 c4 08 90 <0f> 0b e8 96 9b 59 0a e8 21 ae 5f 00 90 0f 0b e8 19 ae 5f 00 90 0f RSP: 0018:ffffc90003d9f880 EFLAGS: 00010292 RAX: 0000000000000089 RBX: 0000000000000085 RCX: 74171987b5db8200 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90003d9f9a8 R08: ffffffff81739789 R09: 1ffff920007b3eac R10: dffffc0000000000 R11: fffff520007b3ead R12: 0000000000000001 R13: ffffffff8bc56001 R14: ffffffff929c38a0 R15: ffffffff8bc56001 FS: 0000555575a90480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd9839b00c0 CR3: 000000006c0cc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400