CVE-2026-45976

Source
https://cve.org/CVERecord?id=CVE-2026-45976
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45976.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-45976
Downstream
Published
2026-05-27T12:18:34.772Z
Modified
2026-06-18T03:54:58.498352077Z
Summary
drm/amdgpu: Fix memory leak in amdgpu_ras_init()
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: Fix memory leak in amdgpurasinit()

When amdgpunbiorasswinit() fails in amdgpurasinit(), 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45976.json"
}
References

Affected packages

Git / 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"

Linux / Kernel

Package

Name
Kernel

Affected 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"