x86/mtrr: Check if fixed MTRRs exist before saving them
Summary
| CVE | CVE-2024-44948 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-09-04 19:15:29 UTC |
| Updated | 2026-05-12 12:17:09 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: x86/mtrr: Check if fixed MTRRs exist before saving them MTRRs have an obsolete fixed variant for fine grained caching control of the 640K-1MB region that uses separate MSRs. This fixed variant has a separate capability bit in the MTRR capability MSR. So far all x86 CPUs which support MTRR have this separate bit set, so it went unnoticed that mtrr_save_state() does not check the capability bit before accessing the fixed MTRR MSRs. Though on a CPU that does not support the fixed MTRR capability this results in a #GP. The #GP itself is harmless because the RDMSR fault is handled gracefully, but results in a WARN_ON(). Add the missing capability check to prevent this. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: NVD-CWE-noinfo
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 2b1f6278d77c1f2f669346fc2bb48012b5e9495a 34f36e6ee5bd7eff8b2adcd9fcaef369f752d82e git | Not specified |
| CNA | Linux | Linux | affected 2b1f6278d77c1f2f669346fc2bb48012b5e9495a 06c1de44d378ec5439db17bf476507d68589bfe9 git | Not specified |
| CNA | Linux | Linux | affected 2b1f6278d77c1f2f669346fc2bb48012b5e9495a 450b6b22acdaac67a18eaf5ed498421ffcf10051 git | Not specified |
| CNA | Linux | Linux | affected 2b1f6278d77c1f2f669346fc2bb48012b5e9495a ca7d00c5656d1791e28369919e3e10febe9c3b16 git | Not specified |
| CNA | Linux | Linux | affected 2b1f6278d77c1f2f669346fc2bb48012b5e9495a 8aa79dfb216b865e96ff890bc4ea71650f9bc8d7 git | Not specified |
| CNA | Linux | Linux | affected 2b1f6278d77c1f2f669346fc2bb48012b5e9495a 8a90d3fc7c24608548d3a750671f9dac21d1a462 git | Not specified |
| CNA | Linux | Linux | affected 2b1f6278d77c1f2f669346fc2bb48012b5e9495a 388f1c954019f253a8383f7eb733f38d541e10b6 git | Not specified |
| CNA | Linux | Linux | affected 2b1f6278d77c1f2f669346fc2bb48012b5e9495a 919f18f961c03d6694aa726c514184f2311a4614 git | Not specified |
| CNA | Linux | Linux | affected 2.6.22 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.22 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.19.320 4.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.282 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.224 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.165 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.105 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.46 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.10.5 6.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.11 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/8a90d3fc7c24608548d3a750671f9dac21d1a462 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/919f18f961c03d6694aa726c514184f2311a4614 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/388f1c954019f253a8383f7eb733f38d541e10b6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/34f36e6ee5bd7eff8b2adcd9fcaef369f752d82e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2024/10/msg00003.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/8aa79dfb216b865e96ff890bc4ea71650f9bc8d7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/450b6b22acdaac67a18eaf5ed498421ffcf10051 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/01/msg00001.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/06c1de44d378ec5439db17bf476507d68589bfe9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/ca7d00c5656d1791e28369919e3e10febe9c3b16 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.