🔍 CVE-2026-64513

0.0
CVSS Score
UNKNOWN
2026-07-25
2026-10-21 13:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 KVM x86 구현에서 PPR 업데이트 시 CR8 인터셉트를 조건 없이 재계산하지 않아 발생하는 취약점입니다. 이로 인해 TPR_THRESHOLD 값이 최신 상태를 유지하지 못해, 특정 하드웨어 환경이나 중첩 가상화 환경에서 VM entry 실패 및 하드웨어 에러(0x7)가 발생할 수 있습니다.

💡 쉬운 설명

가상 컴퓨터를 실행하는 소프트웨어(KVM)의 설정 업데이트 과정에서 오류가 발생하여, 특정 조건에서 가상 컴퓨터가 정상적으로 켜지지 않고 멈추는 현상이 발생할 수 있습니다. 주로 최신 기능이 없는 오래된 컴퓨터나 가상화 환경 위에서 가상화를 실행할 때 문제가 됩니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Unconditionally recompute CR8 intercept on PPR update The TPR_THRESHOLD field in the VMCS is used by VMX to induce VM exits when the guest's virtual TPR falls under the specified threshold, allowing KVM to inject previously masked interrupts. KVM handles these VM exits in handle_tpr_below_threshold(). Commit eb90f3417a0c ("KVM: vmx: speed up TPR below threshold vmexits") optimized this function by calling apic_update_ppr() instead of raising KVM_REQ_EVENT. apic_update_ppr() then raises KVM_REQ_EVENT if there is a pending, deliverable interrupt. However, if there are no new interrupts pending, apic_update_ppr() does not issue the request. Thus, kvm_lapic_update_cr8_intercept() and vmx_update_cr8_intercept() are not called before VM entry, which results in a high, stale TPR_THRESHOLD. This is problematic due to the following sentence in 28.2.1.1 "VM-Execution Control Fields" in the SDM: The following check is performed if the “use TPR shadow” VM-execution control is 1 and the “virtualize APIC accesses” and “virtual-interrupt delivery” VM-execution controls are both 0: the value of bits 3:0 of the TPR threshold VM-execution control field should not be greater than the value of bits 7:4 of VTPR. This error condition is typically not observed when KVM runs on a bare metal system because modern processors support APICv, which enables virtual-interrupt delivery, and which KVM uses when possible. This causes the processor to no longer generate TPR-below-threshold exits and to no longer check TPR_THRESHOLD on entry. However, when running on older platforms, or under nested virtualization on a hypervisor that does not support virtual-interrupt delivery and enforces this check (like Hyper-V) this can cause a VM entry failure with hardware error 0x7, as seen in [1]. Call kvm_lapic_update_cr8_intercept() if apic_update_ppr() does not find a deliverable interrupt (and thus does not raise KVM_REQ_EVENT). Remove calls to kvm_lapic_update_cr8_intercept() on paths that end up in apic_update_ppr(), as they now become redundant. This ensures that any path that updates the guest's PPR also figures out if KVM needs to wait for a TPR change (using TPR_THRESHOLD on VMX or CR8 intercepts on SVM).

📍 영향받는 시스템

Linux kernel (KVM x86 module)

⚔️ 공격 벡터

직접적인 공격보다는 특정 가상화 설정 환경에서 시스템 안정성을 해치는 서비스 거부(DoS) 또는 가상 머신 실행 실패 유발

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 KVM의 PPR 업데이트 로직을 수정해야 합니다.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel