{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-40997","id":"CVE-2024-40997","title":"cpufreq: amd-pstate: fix memory leak on CPU EPP exit","description":"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 ]","descriptionLong":"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 ]","published":"2024-07-12T12:37:39.128Z","updated":"2026-10-28T02:30:30.131824307Z","reserved":"2024-07-12T12:17:45.607Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ffa5096a7c338641f70fb06d4778e8cf400181a8","lessThan":"448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd","status":"affected","versionType":"git"},{"version":"ffa5096a7c338641f70fb06d4778e8cf400181a8","lessThan":"8015c17fe11a8608cc3eb83d0ab831e1845a9582","status":"affected","versionType":"git"},{"version":"ffa5096a7c338641f70fb06d4778e8cf400181a8","lessThan":"cea04f3d9aeebda9d9c063c0dfa71e739c322c81","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.3","status":"affected"},{"version":"0","lessThan":"6.3","status":"unaffected","versionType":"semver"},{"version":"6.6.36","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.7","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/8015c17fe11a8608cc3eb83d0ab831e1845a9582","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/cea04f3d9aeebda9d9c063c0dfa71e739c322c81","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40997.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40997","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00267,"epssPercentile":0.19131,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-40997","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40997","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-40997","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-40997","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}