CVE-2024-26975
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of service disruption.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Weakness
- CWE-476 · NULL pointer dereference
- Record status
- Analyzed
Affected
- Linux Kernel < 6.6.24
- Linux Kernel < 6.7.12
- Linux Kernel < 6.8.3
Attack profile CVSS 3.1 · 5.5
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-26975.md and follow it. Check whether this project is affected by CVE-2024-26975. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/0641908b906a133f1494c312a71f9fecbe2b6c78
- https://git.kernel.org/stable/c/2d1f5006ff95770da502f8cee2a224a1ff83866e
- https://git.kernel.org/stable/c/2f73cf2ae5e0f4e629db5be3a4380ff7807148e6
- https://git.kernel.org/stable/c/9b254feb249981b66ccdb1dae54e757789a15ba1
- https://git.kernel.org/stable/c/0641908b906a133f1494c312a71f9fecbe2b6c78
- https://git.kernel.org/stable/c/2d1f5006ff95770da502f8cee2a224a1ff83866e
- https://git.kernel.org/stable/c/2f73cf2ae5e0f4e629db5be3a4380ff7807148e6
- https://git.kernel.org/stable/c/9b254feb249981b66ccdb1dae54e757789a15ba1
References
- https://git.kernel.org/stable/c/0641908b906a133f1494c312a71f9fecbe2b6c78
- https://git.kernel.org/stable/c/2d1f5006ff95770da502f8cee2a224a1ff83866e
- https://git.kernel.org/stable/c/2f73cf2ae5e0f4e629db5be3a4380ff7807148e6
- https://git.kernel.org/stable/c/9b254feb249981b66ccdb1dae54e757789a15ba1
- https://git.kernel.org/stable/c/0641908b906a133f1494c312a71f9fecbe2b6c78
- https://git.kernel.org/stable/c/2d1f5006ff95770da502f8cee2a224a1ff83866e
- https://git.kernel.org/stable/c/2f73cf2ae5e0f4e629db5be3a4380ff7807148e6
- https://git.kernel.org/stable/c/9b254feb249981b66ccdb1dae54e757789a15ba1