CVE-2024-44948

CVE-2024-44948

Medium · published September 4, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
14.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00242 · 14.5th percentile
Published
2024-09-04T23:15Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.22, < 4.19.3204.19.320
linux/linux_kernel≥ 4.20, < 5.4.2825.4.282
linux/linux_kernel≥ 5.5, < 5.10.2245.10.224
linux/linux_kernel≥ 5.11, < 5.15.1655.15.165
linux/linux_kernel≥ 5.16, < 6.1.1056.1.105
linux/linux_kernel≥ 6.2, < 6.6.466.6.46
linux/linux_kernel≥ 6.7, < 6.10.56.10.5
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (11)
EPSS history
Timeline
  • 04 SEP 18:35Z
    x86/mtrr: Check if fixed MTRRs exist before saving them
    cvelistv5