powercap: intel_rapl: Fix a NULL pointer dereference
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.6.24, 6.7.12, 6.8.3
- CVEs
- CVE-2024-26975
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 00:56 UTC · Revision 1
Source evidence
powercap: intel_rapl: Fix a NULL pointer dereference
core-osv · Original sourcePublished 1 May 2024, 05:20 UTC
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.
osv:CVE-2024-26975
Kernel
Fixed versions: 6.6.24, 6.7.12, 6.8.3
Complete source record
{
"id": "d04bf685e73e50a6ba379fc565a4c0b39da0fb3ffed9faea77f631e1b8ee4c5d",
"url": "https://osv.dev/vulnerability/CVE-2024-26975",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "powercap: intel_rapl: Fix a NULL pointer dereference",
"summary": "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.",
"evidence": "osv:CVE-2024-26975",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.24",
"evidence": "/affected/1/ranges"
},
{
"value": "6.7.12",
"evidence": "/affected/1/ranges"
},
{
"value": "6.8.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2024-26975",
"aliases": [
"CVE-2024-26975"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "1488ac990ac886b1209aa9f94c0c66022bcc8827"
},
{
"fixed": "0641908b906a133f1494c312a71f9fecbe2b6c78"
},
{
"fixed": "9b254feb249981b66ccdb1dae54e757789a15ba1"
},
{
"fixed": "2f73cf2ae5e0f4e629db5be3a4380ff7807148e6"
},
{
"fixed": "2d1f5006ff95770da502f8cee2a224a1ff83866e"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26975.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.5.0"
},
{
"fixed": "6.6.24"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.7.12"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.8.0"
},
{
"fixed": "6.8.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26975.json"
}
}
],
"modified": "2026-10-28T02:30:48.782389046Z",
"provider": "osv",
"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://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26975.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-26975",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26975.json"
}
},
"related_cves": [
{
"value": "CVE-2024-26975",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 516789,
"published_at": "2024-05-01T05:20:19.13+00:00"
}