{"id":"CVE-2026-45976","summary":"drm/amdgpu: Fix memory leak in amdgpu_ras_init()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: Fix memory leak in amdgpu_ras_init()\n\nWhen amdgpu_nbio_ras_sw_init() fails in amdgpu_ras_init(), the function\nreturns directly without freeing the allocated con structure, leading\nto a memory leak.\n\nFix this by jumping to the release_con label to properly clean up the\nallocated memory before returning the error code.\n\nCompile tested only. Issue found using a prototype static analysis tool\nand code review.","modified":"2026-06-18T03:54:58.498352077Z","published":"2026-05-27T12:18:34.772Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45976.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2fef8c2ac67e7c1b0409d23653300b134c63e54c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3f43e7812b30d6b2e850218f9bb1dae60727fcef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c11cd77a18115d2cd3f4b6915c4a537b6042f950"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee41e5b63c8210525c936ee637a2c8d185ce873c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f8a5426652bdadd4a5cb48326d48abbdfebe8153"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45976.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45976"},{"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":"fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf"},{"fixed":"f8a5426652bdadd4a5cb48326d48abbdfebe8153"},{"fixed":"c11cd77a18115d2cd3f4b6915c4a537b6042f950"},{"fixed":"2fef8c2ac67e7c1b0409d23653300b134c63e54c"},{"fixed":"3f43e7812b30d6b2e850218f9bb1dae60727fcef"},{"fixed":"ee41e5b63c8210525c936ee637a2c8d185ce873c"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45976.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.4.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-45976.json"}}],"schema_version":"1.7.5"}