CVE-2024-40997

Source
https://cve.org/CVERecord?id=CVE-2024-40997
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40997.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-40997
Downstream
Related
Published
2024-07-12T12:37:39.128Z
Modified
2026-03-20T12:37:27.769088Z
Summary
cpufreq: amd-pstate: fix memory leak on CPU EPP exit
Details

In the Linux kernel, the following vulnerability has been resolved:

cpufreq: amd-pstate: fix memory leak on CPU EPP exit

The cpudata memory from kzalloc() in amdpstateeppcpuinit() is not freed in the analogous exit function, so fix that.

[ rjw: Subject and changelog edits ]

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40997.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2024-40997.json"