{"id":"CVE-2023-52469","summary":"drivers/amd/pm: fix a use-after-free in kv_parse_power_table","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers/amd/pm: fix a use-after-free in kv_parse_power_table\n\nWhen ps allocated by kzalloc equals to NULL, kv_parse_power_table\nfrees adev-\u003epm.dpm.ps that allocated before. However, after the control\nflow goes through the following call chains:\n\nkv_parse_power_table\n  |-\u003e kv_dpm_init\n        |-\u003e kv_dpm_sw_init\n\t      |-\u003e kv_dpm_fini\n\nThe adev-\u003epm.dpm.ps is used in the for loop of kv_dpm_fini after its\nfirst free in kv_parse_power_table and causes a use-after-free bug.","modified":"2026-04-02T09:42:50.219916Z","published":"2024-02-25T08:16:33.016Z","related":["SUSE-SU-2024:1320-1","SUSE-SU-2024:1321-1","SUSE-SU-2024:1454-1","SUSE-SU-2024:1465-1","SUSE-SU-2024:1466-1","SUSE-SU-2024:1480-1","SUSE-SU-2024:1489-1","SUSE-SU-2024:1490-1","SUSE-SU-2024:1643-1","SUSE-SU-2024:1646-1","SUSE-SU-2024:1870-1","USN-6818-2","USN-6819-2"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52469.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/28dd788382c43b330480f57cd34cde0840896743"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3426f059eacc33ecc676b0d66539297e1cfafd02"},{"type":"WEB","url":"https://git.kernel.org/stable/c/35fa2394d26e919f63600ce631e6aefc95ec2706"},{"type":"WEB","url":"https://git.kernel.org/stable/c/520e213a0b97b64735a13950e9371e0a5d7a5dc3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a27d9d9fc9b5564b8904c3a77a7dea482bfa34e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8b55b06e737feb2a645b0293ea27e38418876d63"},{"type":"WEB","url":"https://git.kernel.org/stable/c/95084632a65d5c0d682a83b55935560bdcd2a1e3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b6dcba02ee178282e0d28684d241e0b8462dea6a"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52469.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52469"},{"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":"a2e73f56fa6282481927ec43aa9362c03c2e2104"},{"fixed":"8a27d9d9fc9b5564b8904c3a77a7dea482bfa34e"},{"fixed":"8b55b06e737feb2a645b0293ea27e38418876d63"},{"fixed":"520e213a0b97b64735a13950e9371e0a5d7a5dc3"},{"fixed":"b6dcba02ee178282e0d28684d241e0b8462dea6a"},{"fixed":"35fa2394d26e919f63600ce631e6aefc95ec2706"},{"fixed":"95084632a65d5c0d682a83b55935560bdcd2a1e3"},{"fixed":"3426f059eacc33ecc676b0d66539297e1cfafd02"},{"fixed":"28dd788382c43b330480f57cd34cde0840896743"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52469.json"}}],"schema_version":"1.7.5"}