# CVE-2026-46014: KVM: SVM: Add missing save/restore handling of LBR MSRs

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-27T12:56:16.052Z
- Modified: 2026-11-06T17:17:30.460Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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]

(As written by CVE List.)

## Affected

- Linux Linux: from 24e09cbf480a72f9c952af4ca77b159503dca44b before bca0597272f9712b1f8ebd38b184db1dc2902ff7; from 24e09cbf480a72f9c952af4ca77b159503dca44b before 4428a0a8643b0acf4ed7b8ea3e5975023bf4aafb; from 24e09cbf480a72f9c952af4ca77b159503dca44b before 2b922a42b531a82d7881add14a7698dcdc5e1f0a; from 24e09cbf480a72f9c952af4ca77b159503dca44b before 13a89ada5dcfc2539514c83ba5a2c61157f1ec6c; from 24e09cbf480a72f9c952af4ca77b159503dca44b before 3700f0788da6acf73b2df56690f4b201aa4aefd2; 2.6.26 (not affected: before 2.6.26; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.27 up to 6.18.*; from 7.0.4 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 2.6.26 before 6.18.27; from 6.19 before 7.0.4

## References

- <https://git.kernel.org/stable/c/bca0597272f9712b1f8ebd38b184db1dc2902ff7>
- <https://git.kernel.org/stable/c/4428a0a8643b0acf4ed7b8ea3e5975023bf4aafb>
- <https://git.kernel.org/stable/c/2b922a42b531a82d7881add14a7698dcdc5e1f0a> (patch)
- <https://git.kernel.org/stable/c/13a89ada5dcfc2539514c83ba5a2c61157f1ec6c> (patch)
- <https://git.kernel.org/stable/c/3700f0788da6acf73b2df56690f4b201aa4aefd2> (patch)

## Sources

- CVE List: [CVE-2026-46014](https://www.cve.org/CVERecord?id=CVE-2026-46014), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-46014](https://nvd.nist.gov/vuln/detail/CVE-2026-46014), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-46014 · Whole record: https://cve.day/CVE-2026-46014.json · Rebuilt by cve.day 2026-11-25T22:59:22.545Z
