{"id":"CVE-2026-53121","summary":"amd-pstate: Fix memory leak in amd_pstate_epp_cpu_init()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\namd-pstate: Fix memory leak in amd_pstate_epp_cpu_init()\n\nOn failure to set the epp, the function amd_pstate_epp_cpu_init()\nreturns with an error code without freeing the cpudata object that was\nallocated at the beginning of the function.\n\nEnsure that the cpudata object is freed before returning from the\nfunction.\n\nThis memory leak was discovered by Claude Opus 4.6 with the aid of\nChris Mason's AI review-prompts\n(https://github.com/masoncl/review-prompts/tree/main/kernel).","modified":"2026-06-26T12:06:23.584573210Z","published":"2026-06-24T16:30:51.294Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53121.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/539aabbab190825c77eb455ec35652cb3720625f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f9aa2359742eaa6ea65ec0d20dafdfd0add9b8b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/beda3b363546a423e4e29a7395e04c0ac4ff677e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53121.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53121"},{"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":"f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec"},{"fixed":"539aabbab190825c77eb455ec35652cb3720625f"},{"fixed":"7f9aa2359742eaa6ea65ec0d20dafdfd0add9b8b"},{"fixed":"beda3b363546a423e4e29a7395e04c0ac4ff677e"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53121.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.14.0"},{"fixed":"6.18.33"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53121.json"}}],"schema_version":"1.7.5"}