KVM: SVM: Add missing save/restore handling of LBR MSRs
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]
CVE-2026-46014
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-46014
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "24e09cbf480a72f9c952af4ca77b159503dca44b",
"lessThan": "bca0597272f9712b1f8ebd38b184db1dc2902ff7",
"versionType": "git"
},
{
"status": "affected",
"version": "24e09cbf480a72f9c952af4ca77b159503dca44b",
"lessThan": "4428a0a8643b0acf4ed7b8ea3e5975023bf4aafb",
"versionType": "git"
},
{
"status": "affected",
"version": "24e09cbf480a72f9c952af4ca77b159503dca44b",
"lessThan": "2b922a42b531a82d7881add14a7698dcdc5e1f0a",
"versionType": "git"
},
{
"status": "affected",
"version": "24e09cbf480a72f9c952af4ca77b159503dca44b",
"lessThan": "13a89ada5dcfc2539514c83ba5a2c61157f1ec6c",
"versionType": "git"
},
{
"status": "affected",
"version": "24e09cbf480a72f9c952af4ca77b159503dca44b",
"lessThan": "3700f0788da6acf73b2df56690f4b201aa4aefd2",
"versionType": "git"
}
],
"programFiles": [
"arch/x86/kvm/svm/nested.c",
"arch/x86/kvm/svm/svm.c",
"arch/x86/kvm/x86.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.26"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "2.6.26",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.27",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.0.4",
"versionType": "semver",
"lessThanOrEqual": "7.0.*"
},
{
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"arch/x86/kvm/svm/nested.c",
"arch/x86/kvm/svm/svm.c",
"arch/x86/kvm/x86.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-46014
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #46320 · Revision 1
- Added to Heist Feed
- Publisher date