{"id":"CVE-2024-40997","summary":"cpufreq: amd-pstate: fix memory leak on CPU EPP exit","details":"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 ]","modified":"2026-04-02T12:17:24.634229Z","published":"2024-07-12T12:37:39.128Z","related":["ALSA-2024:7000","ALSA-2024:7001","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4376-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40997.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8015c17fe11a8608cc3eb83d0ab831e1845a9582"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cea04f3d9aeebda9d9c063c0dfa71e739c322c81"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40997.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40997"},{"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":"ffa5096a7c338641f70fb06d4778e8cf400181a8"},{"fixed":"448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd"},{"fixed":"8015c17fe11a8608cc3eb83d0ab831e1845a9582"},{"fixed":"cea04f3d9aeebda9d9c063c0dfa71e739c322c81"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40997.json"}}],"schema_version":"1.7.5"}