CVE-2026-46014

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

State
Published
Severity
Not scored
Published
May 27, 2026
Updated
Oct 21, 2026
Reserved
May 13, 2026

Read the record on cve.org

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]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 24e09cbf480a72f9c952af4ca77b159503dca44b to before bca0597272f9712b1f8ebd38b184db1dc2902ff7Affected
  • 24e09cbf480a72f9c952af4ca77b159503dca44b to before 4428a0a8643b0acf4ed7b8ea3e5975023bf4aafbAffected
  • 24e09cbf480a72f9c952af4ca77b159503dca44b to before 2b922a42b531a82d7881add14a7698dcdc5e1f0aAffected
  • 24e09cbf480a72f9c952af4ca77b159503dca44b to before 13a89ada5dcfc2539514c83ba5a2c61157f1ec6cAffected
  • 24e09cbf480a72f9c952af4ca77b159503dca44b to before 3700f0788da6acf73b2df56690f4b201aa4aefd2Affected
LinuxLinux
  • 2.6.26Affected
  • before 2.6.26Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.114 through 6.12.*Not affected
  • 6.18.27 through 6.18.*Not affected
  • 7.0.4 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.