drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc()
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc() In amdgpu_acpi_enumerate_xcc(), if amdgpu_acpi_dev_init() returns -ENOMEM, the function returns directly without releasing the allocated xcc_info, resulting in a memory leak. Fix this by ensuring that xcc_info is properly freed in the error paths. Compile tested only. Issue found using a prototype static analysis tool and code review.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.75, 6.18.14, 6.19.4, 6.6.128
- CVEs
- CVE-2026-45947
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 06:52 UTC · Revision 1
Source evidence
drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc()
core-osv · Original sourcePublished 27 May 2026, 12:18 UTC
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc() In amdgpu_acpi_enumerate_xcc(), if amdgpu_acpi_dev_init() returns -ENOMEM, the function returns directly without releasing the allocated xcc_info, resulting in a memory leak. Fix this by ensuring that xcc_info is properly freed in the error paths. Compile tested only. Issue found using a prototype static analysis tool and code review.
osv:CVE-2026-45947
Kernel
Fixed versions: 6.6.128, 6.12.75, 6.18.14, 6.19.4
Complete source record
{
"id": "43a6bc1b2fe31fce9d77bd54df599e402ade2d1a48d28503e0d96e118e9ba906",
"url": "https://osv.dev/vulnerability/CVE-2026-45947",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc() In amdgpu_acpi_enumerate_xcc(), if amdgpu_acpi_dev_init() returns -ENOMEM, the function returns directly without releasing the allocated xcc_info, resulting in a memory leak. Fix this by ensuring that xcc_info is properly freed in the error paths. Compile tested only. Issue found using a prototype static analysis tool and code review.",
"evidence": "osv:CVE-2026-45947",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.128",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.75",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.14",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-45947",
"aliases": [
"CVE-2026-45947"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "4d5275ab0b18d17697392aafd93e206e6b9de647"
},
{
"fixed": "e87c73a80a12d337cf5f493c0956f6c2c9eafd80"
},
{
"fixed": "18a7bbd11f17a7cd4c42fd5955d3675d68c692df"
},
{
"fixed": "d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596"
},
{
"fixed": "7e4b612fe7a960d610c20260c9ee220bddd1b215"
},
{
"fixed": "c9be63d565789b56ca7b0197e2cb78a3671f95a8"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45947.json"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45947.json"
}
}
],
"modified": "2026-10-28T02:30:26.932000806Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/18a7bbd11f17a7cd4c42fd5955d3675d68c692df",
"https://git.kernel.org/stable/c/7e4b612fe7a960d610c20260c9ee220bddd1b215",
"https://git.kernel.org/stable/c/c9be63d565789b56ca7b0197e2cb78a3671f95a8",
"https://git.kernel.org/stable/c/d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596",
"https://git.kernel.org/stable/c/e87c73a80a12d337cf5f493c0956f6c2c9eafd80",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45947.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-45947",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45947.json"
}
},
"related_cves": [
{
"value": "CVE-2026-45947",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 493160,
"published_at": "2026-05-27T12:18:04.117+00:00"
}