Bug 2482071 (CVE-2026-45976) - CVE-2026-45976 kernel: drm/amdgpu: Fix memory leak in amdgpu_ras_init()
Summary: CVE-2026-45976 kernel: drm/amdgpu: Fix memory leak in amdgpu_ras_init()
Keywords:
Status: NEW
Alias: CVE-2026-45976
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-27 15:09 UTC by OSIDB Bzimport
Modified: 2026-05-27 22:32 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-27 15:09:55 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.