Skip to content
Not rated

CVE-2024-44948 In the Linux kernel, the following vulnerability has been resolved: x86/mtrr: Check if fixed MTRRs exist before saving…

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.

Affected products and versions

Product Affected versions Fixed in
Linux 6.11 earliest → < 6.11 6.11
Linux 6.10 earliest → < 6.10.5 6.10.5
Linux 6.6 earliest → < 6.6.46 6.6.46
Linux 6.1 earliest → < 6.1.105 6.1.105
Linux 5.15 earliest → < 5.15.165 5.15.165
Linux 5.10 earliest → < 5.10.224 5.10.224
Linux 5.4 earliest → < 5.4.282 5.4.282
Linux 4.19 earliest → < 4.19.320 4.19.320
Linux 2.6.22 No fix stated
Show the other branch
Product Affected versions Fixed in
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 earliest → < 1.1.1 1.1.1
The 18286 CVEs of Linux →
Track this CVE