{"id":"CVE-2024-26975","state":"PUBLISHED","title":"powercap: intel_rapl: Fix a NULL pointer dereference","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npowercap: intel_rapl: Fix a NULL pointer dereference\n\nA NULL pointer dereference is triggered when probing the MMIO RAPL\ndriver on platforms with CPU ID not listed in intel_rapl_common CPU\nmodel list.\n\nThis is because the intel_rapl_common module still probes on such\nplatforms even if 'defaults_msr' is not set after commit 1488ac990ac8\n(\"powercap: intel_rapl: Allow probing without CPUID match\"). Thus the\nMMIO RAPL rp->priv->defaults is NULL when registering to RAPL framework.\n\nFix the problem by adding sanity check to ensure rp->priv->rapl_defaults\nis always valid.","publishedAt":"2024-05-01T05:20:19.130Z","updatedAt":"2026-05-11T20:07:59.500Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1488ac990ac886b1209aa9f94c0c66022bcc8827","status":"affected","lessThan":"0641908b906a133f1494c312a71f9fecbe2b6c78","versionType":"git"},{"version":"1488ac990ac886b1209aa9f94c0c66022bcc8827","status":"affected","lessThan":"9b254feb249981b66ccdb1dae54e757789a15ba1","versionType":"git"},{"version":"1488ac990ac886b1209aa9f94c0c66022bcc8827","status":"affected","lessThan":"2f73cf2ae5e0f4e629db5be3a4380ff7807148e6","versionType":"git"},{"version":"1488ac990ac886b1209aa9f94c0c66022bcc8827","status":"affected","lessThan":"2d1f5006ff95770da502f8cee2a224a1ff83866e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/powercap/intel_rapl_common.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","versionType":"semver"},{"version":"6.6.24","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.12","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8.3","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/powercap/intel_rapl_common.c"]}],"references":["https://git.kernel.org/stable/c/0641908b906a133f1494c312a71f9fecbe2b6c78","https://git.kernel.org/stable/c/9b254feb249981b66ccdb1dae54e757789a15ba1","https://git.kernel.org/stable/c/2f73cf2ae5e0f4e629db5be3a4380ff7807148e6","https://git.kernel.org/stable/c/2d1f5006ff95770da502f8cee2a224a1ff83866e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/26xxx/CVE-2024-26975.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-26975","state":"PUBLISHED","datePublished":"2024-05-01T05:20:19.130Z","dateUpdated":"2026-05-11T20:07:59.500Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-19T14:20:24.203Z"},"containers":{"cna":{"title":"powercap: intel_rapl: Fix a NULL pointer dereference","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npowercap: intel_rapl: Fix a NULL pointer dereference\n\nA NULL pointer dereference is triggered when probing the MMIO RAPL\ndriver on platforms with CPU ID not listed in intel_rapl_common CPU\nmodel list.\n\nThis is because the intel_rapl_common module still probes on such\nplatforms even if 'defaults_msr' is not set after commit 1488ac990ac8\n(\"powercap: intel_rapl: Allow probing without CPUID match\"). Thus the\nMMIO RAPL rp->priv->defaults is NULL when registering to RAPL framework.\n\nFix the problem by adding sanity check to ensure rp->priv->rapl_defaults\nis always valid."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1488ac990ac886b1209aa9f94c0c66022bcc8827","status":"affected","lessThan":"0641908b906a133f1494c312a71f9fecbe2b6c78","versionType":"git"},{"version":"1488ac990ac886b1209aa9f94c0c66022bcc8827","status":"affected","lessThan":"9b254feb249981b66ccdb1dae54e757789a15ba1","versionType":"git"},{"version":"1488ac990ac886b1209aa9f94c0c66022bcc8827","status":"affected","lessThan":"2f73cf2ae5e0f4e629db5be3a4380ff7807148e6","versionType":"git"},{"version":"1488ac990ac886b1209aa9f94c0c66022bcc8827","status":"affected","lessThan":"2d1f5006ff95770da502f8cee2a224a1ff83866e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/powercap/intel_rapl_common.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","versionType":"semver"},{"version":"6.6.24","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.12","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8.3","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/powercap/intel_rapl_common.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/0641908b906a133f1494c312a71f9fecbe2b6c78"},{"url":"https://git.kernel.org/stable/c/9b254feb249981b66ccdb1dae54e757789a15ba1"},{"url":"https://git.kernel.org/stable/c/2f73cf2ae5e0f4e629db5be3a4380ff7807148e6"},{"url":"https://git.kernel.org/stable/c/2d1f5006ff95770da502f8cee2a224a1ff83866e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:07:59.500Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.6.24"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.7.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.8.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/0641908b906a133f1494c312a71f9fecbe2b6c78","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/9b254feb249981b66ccdb1dae54e757789a15ba1","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/2f73cf2ae5e0f4e629db5be3a4380ff7807148e6","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/2d1f5006ff95770da502f8cee2a224a1ff83866e","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:21:05.847Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-26975","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T15:45:10.077233Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:33:43.529Z"}}]}}}