CVE-2026-45976

drm/amdgpu: Fix memory leak in amdgpu_ras_init()

published May 27, 2026

CVSS
—
EPSS
0%
Percentile
5.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00162 · 5.0th percentile
Published
2026-05-27T12:18Z
EPSS history
Timeline
  • 27 MAY 12:18Z
    drm/amdgpu: Fix memory leak in amdgpu_ras_init()
    cvelistv5