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.
Published: 2026-06-09
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel’s drm/nouveau driver, a failure in aperture_remove_conflicting_pci_devices() during probe causes the function to return early without freeing the nvkm_device that was just allocated by nvkm_device_pci_new(). The device wrapper and the pci_enable_device() reference remain unreleased, creating a memory and PCI resource leak that may lead to kernel memory exhaustion or stale PCI references. The vulnerability is a CWE‑772: Resource Leak, indicating the kernel fails to properly release allocated resources.

Affected Systems

All systems running a Linux kernel with the Nouveau NVIDIA graphics driver prior to the patch that incorporated the commit referenced in the provided URLs. No specific version range is specified, but the flaw existed until that kernel update.

Risk and Exploitability

The flaw is local to the kernel and requires a probe failure that can be induced by locally executing code or manipulating kernel module loading. There is no CVSS score, but the EPSS score is not available and the vulnerability is not listed in CISA KEV. Because the issue only allows resource exhaustion, the risk is moderate; a determined local attacker could repeatedly trigger probe failures to deplete kernel memory or PCI device reference counts, potentially leading to a denial of service.

Generated by OpenCVE AI on June 10, 2026 at 04:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the Nouveau driver patch referenced in the provided commit logs
  • Reboot the system so the updated kernel and driver modules are loaded
  • If an updated kernel is not available, disable the Nouveau driver by adding "nouveau.modeset=0" to the boot parameters to prevent the leak until a patch is applied

Generated by OpenCVE AI on June 10, 2026 at 04:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 10 Jun 2026 03:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Wed, 10 Jun 2026 00:15:00 +0000


Tue, 09 Jun 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Tue, 09 Jun 2026 13:30:00 +0000

Type Values Removed Values Added
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.
Title drm/nouveau: fix nvkm_device leak on aperture removal failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-09T12:36:01.237Z

Reserved: 2026-06-09T07:44:35.366Z

Link: CVE-2026-52904

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-09T14:16:44.830

Modified: 2026-06-09T14:16:44.830

Link: CVE-2026-52904

cve-icon Redhat

Severity :

Publid Date: 2026-06-09T00:00:00Z

Links: CVE-2026-52904 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T05:00:15Z

Weaknesses