CVE-2026-45976

drm/amdgpu: Fix memory leak in amdgpu_ras_init()

State
Published
Severity
Not scored
Published
May 27, 2026
Updated
May 27, 2026
Reserved
May 13, 2026

Read the record on cve.org

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

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf to before f8a5426652bdadd4a5cb48326d48abbdfebe8153Affected
  • fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf to before c11cd77a18115d2cd3f4b6915c4a537b6042f950Affected
  • fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf to before 2fef8c2ac67e7c1b0409d23653300b134c63e54cAffected
  • fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf to before 3f43e7812b30d6b2e850218f9bb1dae60727fcefAffected
  • fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf to before ee41e5b63c8210525c936ee637a2c8d185ce873cAffected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 6.6.128 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.14 through 6.18.*Not affected
  • 6.19.4 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.