CVE-2026-52904

drm/nouveau: fix nvkm_device leak on aperture removal failure

MEDIUM
5.5
CVSS Score
Published: June 9, 2026 at 12:36 PM UTC
Updated: July 23, 2026 at 07:32 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: fix nvkm_device leak on aperture removal failure When aperture_remove_conflicting_pci_devices() fails during probe, the error path returns directly without unwinding the nvkm_device that was just allocated by nvkm_device_pci_new(). This leaks both the device wrapper and the pci_enable_device() reference taken inside it. Jump to the existing fail_nvkm label so nvkm_device_del() runs and balances both. The leak was introduced when the intermediate nvkm_device_del() between detection and aperture removal was dropped in favor of creating the pci device once.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.12 ≤ v < 6.12.866.12 ≤ v < 6.18.276.12 ≤ v < 7.0.46.12 ≤ v < 7.16.13 ≤ v < 6.18.276.19 ≤ v < 7.0.46.12c0bfe34330b5fafdbbc63a7124841711651b96b9
Vendor states this is fixed in 4404d7d2dda4f3cc84a8fb6ac5417a2afc3b22d6 (fixed)
Vendor states this is fixed in 5edd564ccb002ffc830e7818c1c4a992db774678 (fixed)
Vendor states this is fixed in 6597ff1d8de3f583be169587efeafd8af134e138 (fixed)
Vendor states this is fixed in 843c0247cf21364e33bb5a8ffc9af57107d04d05 (fixed)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.12.86 (unaffected)
Vendor states this is fixed in 6.18.27 (unaffected)
Vendor states this is fixed in 7.0.4 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card