CVE-2026-45976

drm/amdgpu: Fix memory leak in amdgpu_ras_init()

MEDIUM
5.5
CVSS Score
Published: May 27, 2026 at 12:18 PM UTC
Updated: June 17, 2026 at 10:52 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.18.146.19 ≤ v < 6.19.46.4 ≤ v < 6.12.756.4 ≤ v < 6.18.146.4 ≤ v < 6.19.46.4 ≤ v < 6.6.1286.4 ≤ v < 7.06.7 ≤ v < 6.12.756.4fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf
Vendor states this is fixed in 2fef8c2ac67e7c1b0409d23653300b134c63e54c (fixed)
Vendor states this is fixed in 3f43e7812b30d6b2e850218f9bb1dae60727fcef (fixed)
Vendor states this is fixed in c11cd77a18115d2cd3f4b6915c4a537b6042f950 (fixed)
Vendor states this is fixed in ee41e5b63c8210525c936ee637a2c8d185ce873c (fixed)
Vendor states this is fixed in f8a5426652bdadd4a5cb48326d48abbdfebe8153 (fixed)
Vendor states this is fixed in 6.12.75 (unaffected)
Vendor states this is fixed in 6.18.14 (unaffected)
Vendor states this is fixed in 6.19.4 (unaffected)
Vendor states this is fixed in 6.4 (unaffected)
Vendor states this is fixed in 6.6.128 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card