drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.14, Kernel 6.19.4, Kernel 6.6.128 and 6 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.13 <6.18.14, >=6.19 <6.19.4, >=6.5 <6.6.128, >=6.7 <6.12.75, >=4d5275ab0b18d17697392aafd93e206e6b9de647 <7e4b612fe7a960d610c20260c9ee220bddd1b215, >=4d5275ab0b18d17697392aafd93e206e6b9de647 <c9be63d565789b56ca7b0197e2cb78a3671f95a8, >=4d5275ab0b18d17697392aafd93e206e6b9de647 <d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596, >=4d5275ab0b18d17697392aafd93e206e6b9de647 <e87c73a80a12d337cf5f493c0956f6c2c9eafd80, =6.5, >=4d5275ab0b18d17697392aafd93e206e6b9de647 <18a7bbd11f17a7cd4c42fd5955d3675d68c692df | 6.18.14, 6.19.4, 6.6.128, 6.12.75, 7e4b612fe7a960d610c20260c9ee220bddd1b215, c9be63d565789b56ca7b0197e2cb78a3671f95a8, d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596, e87c73a80a12d337cf5f493c0956f6c2c9eafd80, 18a7bbd11f17a7cd4c42fd5955d3675d68c692df |
| linux-kernel: Kernel | >=6.13.0 <6.18.14, >=6.19.0 <6.19.4, >=6.5.0 <6.6.128, >=6.7.0 <6.12.75 | 6.18.14, 6.19.4, 6.6.128, 6.12.75 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket