{"id":"CVE-2024-26975","published":"2024-05-01T05:20:19Z","modified":"2026-05-11T20:07:59Z","title":"powercap: intel_rapl: Fix a NULL pointer dereference","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00227,"percentile":0.13708,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0641908b906a133f1494c312a71f9fecbe2b6c78","tags":[]},{"url":"https://git.kernel.org/stable/c/9b254feb249981b66ccdb1dae54e757789a15ba1","tags":[]},{"url":"https://git.kernel.org/stable/c/2f73cf2ae5e0f4e629db5be3a4380ff7807148e6","tags":[]},{"url":"https://git.kernel.org/stable/c/2d1f5006ff95770da502f8cee2a224a1ff83866e","tags":[]}],"priority":{"score":2.7,"factors":[{"name":"EPSS percentile","points":2.74}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1488ac990ac886b1209aa9f94c0c66022bcc8827, < 0641908b906a133f1494c312a71f9fecbe2b6c78",">= 1488ac990ac886b1209aa9f94c0c66022bcc8827, < 9b254feb249981b66ccdb1dae54e757789a15ba1",">= 1488ac990ac886b1209aa9f94c0c66022bcc8827, < 2f73cf2ae5e0f4e629db5be3a4380ff7807148e6",">= 1488ac990ac886b1209aa9f94c0c66022bcc8827, < 2d1f5006ff95770da502f8cee2a224a1ff83866e"]},{"vendor":"Linux","product":"Linux","versions":["6.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:45:10.077233Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24237","exploited":false,"provenance":"source"}}