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

Published Sep 4, 2024
·
Updated

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 mtrrsavestate() 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 WARNON().

Add the missing capability check to prevent this.

Affected Software

13 affected componentsFixes available
Linux Linux kernel>=2.6.22<4.19.320
Linux Linux kernel>=4.20<5.4.282
Linux Linux kernel>=5.5<5.10.224
Linux Linux kernel>=5.11<5.15.165
Linux Linux kernel>=5.16<6.1.105
Linux Linux kernel>=6.2<6.6.46
Linux Linux kernel>=6.7<6.10.5
Linux Linux kernel=6.11-rc1
Linux Linux kernel=6.11-rc2
debian/linux<6.1.106-1
6.1.106-1
debian/linux<6.10.6-1
6.10.6-1
debian/linux<6.10.6-1
6.10.6-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade debian/linux-6.1 to a version that resolves this vulnerability.

    Fixed in 6.1.129-1~deb11u1
  3. Compensating control

    Modify x86 mtrr_save_state() to check the fixed-MTRR capability bit in the MTRR capability MSR before accessing the fixed MTRR MSRs.

Event History

Sep 4, 2024
CVE Published
via MITRE·06:35 PM
Data Sourced
via MITRE·06:35 PM
Description
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·07:15 PM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-44948?

CVE-2024-44948 is classified as a medium severity vulnerability.

2

How do I fix CVE-2024-44948?

To fix CVE-2024-44948, upgrade to the patched versions of the linux package, which are 5.10.226-1, 6.1.123-1, 6.1.119-1, 6.12.11-1, or 6.12.12-1.

3

What Linux distributions are affected by CVE-2024-44948?

CVE-2024-44948 affects Debian-based distributions that utilize the specified versions of the Linux kernel.

4

What components of the Linux kernel does CVE-2024-44948 impact?

CVE-2024-44948 impacts the x86/mtrr component of the Linux kernel related to memory type range registers.

5

Is there a workaround for CVE-2024-44948?

Currently, there is no known workaround for CVE-2024-44948 other than applying the appropriate kernel updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203