{"id":"CVE-2024-40997","aliases":["CVE-2024-40997"],"related":[],"kind":"vulnerability","state":"published","title":"cpufreq: amd-pstate: fix memory leak on CPU EPP exit","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: amd-pstate: fix memory leak on CPU EPP exit\n\nThe cpudata memory from kzalloc() in amd_pstate_epp_cpu_init() is\nnot freed in the analogous exit function, so fix that.\n\n[ rjw: Subject and changelog edits ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: amd-pstate: fix memory leak on CPU EPP exit\n\nThe cpudata memory from kzalloc() in amd_pstate_epp_cpu_init() is\nnot freed in the analogous exit function, so fix that.\n\n[ rjw: Subject and changelog edits ]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: cpufreq: amd-pstate: corrige la pérdida de memoria en la salida del EPP de la CPU La memoria cpudata de kzalloc() en amd_pstate_epp_cpu_init() no se libera en la función de salida análoga, así que solucione eso. [rjw: ediciones de asunto y registro de cambios]","source":"nvd"}],"published":"2024-07-12T12:37:39.128Z","modified":"2026-06-17T07:47:02.927Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"ffa5096a7c338641f70fb06d4778e8cf400181a8","fixed":"448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd","status":"affected"},{"type":"git","introduced":"ffa5096a7c338641f70fb06d4778e8cf400181a8","fixed":"8015c17fe11a8608cc3eb83d0ab831e1845a9582","status":"affected"},{"type":"git","introduced":"ffa5096a7c338641f70fb06d4778e8cf400181a8","fixed":"cea04f3d9aeebda9d9c063c0dfa71e739c322c81","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.6.36","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.7","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.6.36"},{"status":"affected","introduced":"6.7","fixed":"6.9.7"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8015c17fe11a8608cc3eb83d0ab831e1845a9582","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cea04f3d9aeebda9d9c063c0dfa71e739c322c81","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:01:28.872Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-40997","url":"https://www.cve.org/CVERecord?id=CVE-2024-40997","licence":"CVE Terms of Use","modified":"2026-05-11T20:24:00.419Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-40997","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40997","licence":"Public domain","modified":"2026-06-17T07:47:02.927Z"}],"updatedAt":"2026-11-25T22:58:42.882Z","epss":{"score":0.0027,"percentile":0.20477,"date":"2026-12-01T12:00:22.000Z"}}