CVE-2024-44948

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2024
Last modified:
03/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> x86/mtrr: Check if fixed MTRRs exist before saving them<br /> <br /> MTRRs have an obsolete fixed variant for fine grained caching control<br /> of the 640K-1MB region that uses separate MSRs. This fixed variant has<br /> a separate capability bit in the MTRR capability MSR.<br /> <br /> So far all x86 CPUs which support MTRR have this separate bit set, so it<br /> went unnoticed that mtrr_save_state() does not check the capability bit<br /> before accessing the fixed MTRR MSRs.<br /> <br /> Though on a CPU that does not support the fixed MTRR capability this<br /> results in a #GP. The #GP itself is harmless because the RDMSR fault is<br /> handled gracefully, but results in a WARN_ON().<br /> <br /> Add the missing capability check to prevent this.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 2.6.22 (including) 4.19.320 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.20 (including) 5.4.282 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.224 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.165 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.105 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.46 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.10.5 (excluding)
cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*