CVE-2026-46014

KVM: SVM: Add missing save/restore handling of LBR MSRs

Published May 27, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

KVM: SVM: Add missing save/restore handling of LBR MSRs

MSR_IA32_DEBUGCTLMSR and LBR MSRs are currently not enumerated by
KVM_GET_MSR_INDEX_LIST, and LBR MSRs cannot be set with KVM_SET_MSRS. So
save/restore is completely broken.

Fix it by adding the MSRs to msrs_to_save_base, and allowing writes to
LBR MSRs from userspace only (as they are read-only MSRs) if LBR
virtualization is enabled. Additionally, to correctly restore L1's LBRs
while L2 is running, make sure the LBRs are copied from the captured
VMCB01 save area in svm_copy_vmrun_state().

Note, for VMX, this also fixes a flaw where MSR_IA32_DEBUGCTLMSR isn't
reported as an MSR to save/restore.

Note #2, over-reporting MSR_IA32_LASTxxx on Intel is ok, as KVM already
handles unsupported reads and writes thanks to commit b5e2fec0ebc3 ("KVM:
Ignore DEBUGCTL MSRs with no effect") (kvm_do_msr_access() will morph the
unsupported userspace write into a nop).

[sean: guard with lbrv checks, massage changelog]

Analysis

AI-generated

Technical impact

The flaw in the Linux kernel’s KVM SVM implementation means that the MSR_IA32_DEBUGCTLMSR and LBR MSRs were not enumerated for saving and restoring. As a result, when a virtual machine enables LBR virtualization, the host does not preserve the guest’s branch history correctly, and the state cannot be restored after a migration or a context switch. This broken save/restore path may allow information about the host or other guests’ branch direction, location, and timing to be unintentionally exposed or to corrupt the LBR state of another VM, potentially leading to data leakage or a denial‑of‑service condition. The recent patch re‑adds these MSRs to the save list and updates access controls so that writes to LBR MSRs are permitted only when the feature is enabled, thereby restoring correct isolation.

Affected Systems

All Linux kernel versions running KVM with AMD SVM support that have not yet applied the commit that adds the missing LBR MSRs to the save list. This includes any system using the KVM module where LBR virtualization is enabled for a guest. The vendor designation is Linux kernel; specific sub‑versions are not enumerated in the advisory, so any kernel build predating the referenced patches is potentially affected.

Risk and Exploitability

The CVSS score is 5.5, and the EPSS score is 0.00093, indicating a very low exploit probability. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is from within a guest virtual machine that can invoke KVM_GET_MSR_INDEX_LIST or KVM_SET_MSRS; the attacker would need to enable LBR virtualization to exercise the path. Because the flaw relates to state handling rather than a direct code execution vector, the exploitation complexity is moderate, and the potential impact is limited to data leakage or instability across virtual machines. This vulnerability is associated with CWE-372 and CWE-667. No public exploit is known at this time.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel patch that includes the KVM LBR MSR handling fix
  • Temporarily disable LBR virtualization for all virtual machines (remove the 'lbrv' flag) until the kernel patch is deployed
  • Restart the KVM service or reboot the host to ensure the updated MSR handling is active

Generated by OpenCVE AI on June 18, 2026 at 02:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-8488-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8489-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8488-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8507-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9175-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-3 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9174-2 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9191-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-667
Type Values Removed Values Added
Weaknesses CWE-200
Type Values Removed Values Added
Weaknesses CWE-372
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-200
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Add missing save/restore handling of LBR MSRs MSR_IA32_DEBUGCTLMSR and LBR MSRs are currently not enumerated by KVM_GET_MSR_INDEX_LIST, and LBR MSRs cannot be set with KVM_SET_MSRS. So save/restore is completely broken. Fix it by adding the MSRs to msrs_to_save_base, and allowing writes to LBR MSRs from userspace only (as they are read-only MSRs) if LBR virtualization is enabled. Additionally, to correctly restore L1's LBRs while L2 is running, make sure the LBRs are copied from the captured VMCB01 save area in svm_copy_vmrun_state(). Note, for VMX, this also fixes a flaw where MSR_IA32_DEBUGCTLMSR isn't reported as an MSR to save/restore. Note #2, over-reporting MSR_IA32_LASTxxx on Intel is ok, as KVM already handles unsupported reads and writes thanks to commit b5e2fec0ebc3 ("KVM: Ignore DEBUGCTL MSRs with no effect") (kvm_do_msr_access() will morph the unsupported userspace write into a nop). [sean: guard with lbrv checks, massage changelog]
Title KVM: SVM: Add missing save/restore handling of LBR MSRs
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-372

    Incomplete Internal State Distinction

  • CWE-667

    Improper Locking

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 6, 2026, 4:13 PM
Reserved
May 13, 2026, 3:03 PM
Status
Modified
Published
May 27, 2026, 2:17 PM
Modified
Nov 6, 2026, 5:17 PM
Severity
Low
Public date
May 27, 2026, 12:00 AM