{"id":"CVE-2024-26975","summary":"powercap: intel_rapl: Fix a NULL pointer dereference","details":"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-\u003epriv-\u003edefaults is NULL when registering to RAPL framework.\n\nFix the problem by adding sanity check to ensure rp-\u003epriv-\u003erapl_defaults\nis always valid.","modified":"2026-04-02T10:06:37.126428Z","published":"2024-05-01T05:20:19.130Z","related":["SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26975.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0641908b906a133f1494c312a71f9fecbe2b6c78"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2d1f5006ff95770da502f8cee2a224a1ff83866e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2f73cf2ae5e0f4e629db5be3a4380ff7807148e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b254feb249981b66ccdb1dae54e757789a15ba1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26975.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26975"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.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"}}],"schema_version":"1.7.5"}