What’s Vulnerable › Vulnerabilities
CVE-2026-45976: drm/amdgpu: Fix memory leak in amdgpu_ras_init()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-27 · updated 2026-06-17
- Weakness: CWE-401
Description
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 products
- Linux kernel: from 6.4 before 6.6.128; from 6.7 before 6.12.75; from 6.13 before 6.18.14; from 6.19 before 6.19.4 — fixed in 6.12.75, 6.18.14, 6.19.4, 6.6.128
How to fix
Upgrade to a fixed version: Linux kernel 6.12.75, 6.18.14, 6.19.4, 6.6.128. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2fef8c2ac67e7c1b0409d23653300b134c63e54c
- https://git.kernel.org/stable/c/3f43e7812b30d6b2e850218f9bb1dae60727fcef
- https://git.kernel.org/stable/c/c11cd77a18115d2cd3f4b6915c4a537b6042f950
- https://git.kernel.org/stable/c/ee41e5b63c8210525c936ee637a2c8d185ce873c
- https://git.kernel.org/stable/c/f8a5426652bdadd4a5cb48326d48abbdfebe8153
Get alerted when CVE-2026-45976 or the next vulnerability affects your stack