CVE-2024-26975: powercap: intel_rapl: Fix a NULL pointer dereference

Published May 1, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

powercap: intelrapl: Fix a NULL pointer dereference

A NULL pointer dereference is triggered when probing the MMIO RAPL driver on platforms with CPU ID not listed in intelraplcommon CPU model list.

This is because the intelraplcommon module still probes on such platforms even if 'defaultsmsr' is not set after commit 1488ac990ac8 ("powercap: intelrapl: Allow probing without CPUID match"). Thus the MMIO RAPL rp->priv->defaults is NULL when registering to RAPL framework.

Fix the problem by adding sanity check to ensure rp->priv->rapldefaults is always valid.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

powercap: intelrapl: Fix a NULL pointer dereference

The Linux kernel CVE team has assigned CVE-2024-26975 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024050133-CVE-2024-26975-d184@gregkh/T

Red Hat

Affected Software

8 affected componentsFixes available
redhat/kernel<6.6.24
6.6.24
redhat/kernel<6.7.12
6.7.12
redhat/kernel<6.8.3
6.8.3
redhat/kernel<6.9
6.9
Linux Linux kernel>=6.5<6.6.24
Linux Linux kernel>=6.7<6.7.12
Linux Linux kernel>=6.8<6.8.3
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

May 1, 2024
CVE Published
via MITRE·05:20 AM
Data Sourced
via MITRE·05:20 AM
Description
Data Sourced
via Red Hat·07:39 PM
DescriptionSeverityAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:11 AM
Description
Jan 6, 2025
Data Sourced
via Ubuntu·06:09 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-26975?

CVE-2024-26975 is a medium severity vulnerability due to a potential NULL pointer dereference in the Linux kernel's intel_rapl driver.

2

How do I fix CVE-2024-26975?

To resolve CVE-2024-26975, update to the specified patched versions of the kernel which include the fixes.

3

Which Linux kernel versions are affected by CVE-2024-26975?

CVE-2024-26975 affects Linux kernel versions prior to 6.6.24, and specific versions in the 5.10, 6.1, and 6.12 series as listed in the advisory.

4

What platforms are impacted by CVE-2024-26975?

CVE-2024-26975 impacts platforms with CPU IDs not listed in the intel_rapl_common CPU model list during MMIO RAPL driver probing.

5

Is immediate action required for CVE-2024-26975?

Yes, immediate patching is recommended for systems running affected kernel versions to avoid potential system crashes.

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