drm/amdgpu: Fix memory leak in amdgpu_ras_init()
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_ras_init() When amdgpu_nbio_ras_sw_init() fails in amdgpu_ras_init(), the function returns directly without freeing the allocated con structure, leading to a memory leak. Fix this by jumping to the release_con label to properly clean up the allocated memory before returning the error code. 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.4 <6.6.128, >=6.7 <6.12.75, >=fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf <3f43e7812b30d6b2e850218f9bb1dae60727fcef, >=fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf <c11cd77a18115d2cd3f4b6915c4a537b6042f950, >=fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf <ee41e5b63c8210525c936ee637a2c8d185ce873c, >=fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf <f8a5426652bdadd4a5cb48326d48abbdfebe8153, =6.4, >=fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf <2fef8c2ac67e7c1b0409d23653300b134c63e54c | 6.18.14, 6.19.4, 6.6.128, 6.12.75, 3f43e7812b30d6b2e850218f9bb1dae60727fcef, c11cd77a18115d2cd3f4b6915c4a537b6042f950, ee41e5b63c8210525c936ee637a2c8d185ce873c, f8a5426652bdadd4a5cb48326d48abbdfebe8153, 2fef8c2ac67e7c1b0409d23653300b134c63e54c |
| linux-kernel: Kernel | >=6.13.0 <6.18.14, >=6.19.0 <6.19.4, >=6.4.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