{"id":"CVE-2026-45947","summary":"drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc()\n\nIn amdgpu_acpi_enumerate_xcc(), if amdgpu_acpi_dev_init() returns -ENOMEM,\nthe function returns directly without releasing the allocated xcc_info,\nresulting in a memory leak.\n\nFix this by ensuring that xcc_info is properly freed in the error paths.\n\nCompile tested only. Issue found using a prototype static analysis tool\nand code review.","modified":"2026-06-18T03:56:21.820158276Z","published":"2026-05-27T12:18:04.117Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45947.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/18a7bbd11f17a7cd4c42fd5955d3675d68c692df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e4b612fe7a960d610c20260c9ee220bddd1b215"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c9be63d565789b56ca7b0197e2cb78a3671f95a8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e87c73a80a12d337cf5f493c0956f6c2c9eafd80"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45947.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45947"},{"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":"4d5275ab0b18d17697392aafd93e206e6b9de647"},{"fixed":"e87c73a80a12d337cf5f493c0956f6c2c9eafd80"},{"fixed":"18a7bbd11f17a7cd4c42fd5955d3675d68c692df"},{"fixed":"d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596"},{"fixed":"7e4b612fe7a960d610c20260c9ee220bddd1b215"},{"fixed":"c9be63d565789b56ca7b0197e2cb78a3671f95a8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45947.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.5.0"},{"fixed":"6.6.128"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45947.json"}}],"schema_version":"1.7.5"}