---
id: CVE-2026-45976
title: 'drm/amdgpu: Fix memory leak in amdgpu_ras_init()'
summary: |-
  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…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf <
    f8a5426652bdadd4a5cb48326d48abbdfebe8153
  - >-
    Linux >= fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf <
    c11cd77a18115d2cd3f4b6915c4a537b6042f950
  - >-
    Linux >= fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf <
    2fef8c2ac67e7c1b0409d23653300b134c63e54c
  - >-
    Linux >= fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf <
    3f43e7812b30d6b2e850218f9bb1dae60727fcef
  - >-
    Linux >= fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf <
    ee41e5b63c8210525c936ee637a2c8d185ce873c
  - Linux 6.4
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-06T16:03:38.864159Z'
published: '2026-05-27'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T16:13:29.439Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-45976'
references:
  - url: 'https://git.kernel.org/stable/c/f8a5426652bdadd4a5cb48326d48abbdfebe8153'
  - url: 'https://git.kernel.org/stable/c/c11cd77a18115d2cd3f4b6915c4a537b6042f950'
  - url: 'https://git.kernel.org/stable/c/2fef8c2ac67e7c1b0409d23653300b134c63e54c'
  - url: 'https://git.kernel.org/stable/c/3f43e7812b30d6b2e850218f9bb1dae60727fcef'
  - url: 'https://git.kernel.org/stable/c/ee41e5b63c8210525c936ee637a2c8d185ce873c'
tags:
  - cve.org
epss: 0.00122
epssPercentile: 0.01991
ingestedAt: '2026-11-06T16:57:43.358Z'
---

## Overview

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

- `Linux >= fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf < f8a5426652bdadd4a5cb48326d48abbdfebe8153`
- `Linux >= fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf < c11cd77a18115d2cd3f4b6915c4a537b6042f950`
- `Linux >= fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf < 2fef8c2ac67e7c1b0409d23653300b134c63e54c`
- `Linux >= fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf < 3f43e7812b30d6b2e850218f9bb1dae60727fcef`
- `Linux >= fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf < ee41e5b63c8210525c936ee637a2c8d185ce873c`
- `Linux 6.4`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
