VDB

CVE-2024-26975

CVE-2024-26975 PUBLISHED

powercap: intel_rapl: Fix a NULL pointer dereference

Reported by linux · Published May 1, 2024

In the Linux kernel, the following vulnerability has been resolved: powercap: intel_rapl: 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 intel_rapl_common CPU model list. This is because the intel_rapl_common module still probes on such platforms even if 'defaults_msr' is not set after commit 1488ac990ac8 ("powercap: intel_rapl: 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->rapl_defaults is always valid.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.8.3, 6.7.12, 6.6.24
LinuxLinux2f73cf2ae5e0f4e629db5be3a4380ff7807148e6, 2d1f5006ff95770da502f8cee2a224a1ff83866e

Affected products

VendorProductVersions
LinuxLinux1488ac990ac886b1209aa9f94c0c66022bcc8827, 1488ac990ac886b1209aa9f94c0c66022bcc8827, 1488ac990ac886b1209aa9f94c0c66022bcc8827
LinuxLinux6.5, 0, 6.6.24
LinuxLinux6.7.12, 6.6.24, 6.8.3
linuxlinux_kernel6.5, 6.5, 6.5

Timeline

  • May 1, 2024 EPSS Score (30 in total, the first dated here)
  • May 1, 2024 CVE Published
  • Oct 4, 2024 Coalition ESS Score (13 in total, the first dated here)
  • Dec 5, 2025 CVE Updated
  • Jan 15, 2026 Security Advisory (308 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (270 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-26975
vulnetix vdb fixes CVE-2024-26975

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26975/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›