CVE-2026-45976

MEDIUM

drm/amdgpu: Fix memory leak in amdgpu_ras_init()

Title source: cna
STIX 2.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.

Scores

CVSS v3 5.5
EPSS 0.0017
EPSS Percentile 6.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (13)
Linux/Linux < 6.4
Linux/Linux 6.12.75 - 6.12.*
Linux/Linux 6.18.14 - 6.18.*
Linux/Linux 6.19.4 - 6.19.*
Linux/Linux 6.4
Linux/Linux 6.6.128 - 6.6.*
Linux/Linux 7.0
Linux/Linux fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf - 2fef8c2ac67e7c1b0409d23653300b134c63e54c
Linux/Linux fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf - 3f43e7812b30d6b2e850218f9bb1dae60727fcef
Linux/Linux fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf - c11cd77a18115d2cd3f4b6915c4a537b6042f950
... and 3 more
Published May 27, 2026
Tracked Since May 27, 2026