Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2024-44948
HistorySep 04, 2024 - 6:35 p.m.

CVE-2024-44948 x86/mtrr: Check if fixed MTRRs exist before saving them

2024-09-0418:35:48
Linux
github.com
2
linux kernel
mtrrs
x86_cpu
vulnerability
mtrr_capability
#gp
fixed_mtrr_msrs

AI Score

7

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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.

AI Score

7

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

Related for VULNRICHMENT:CVE-2024-44948