CVE-2026-52904: drm/nouveau: fix nvkm_device leak on aperture removal failure

Published Jun 9, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

drm/nouveau: fix nvkmdevice leak on aperture removal failure

When apertureremoveconflictingpcidevices() fails during probe, the error path returns directly without unwinding the nvkmdevice that was just allocated by nvkmdevicepcinew(). This leaks both the device wrapper and the pcienabledevice() reference taken inside it.

Jump to the existing failnvkm label so nvkmdevicedel() runs and balances both. The leak was introduced when the intermediate nvkmdevicedel() between detection and aperture removal was dropped in favor of creating the pci device once.

Affected Software

4 affected components
Linux Linux kernel (drm/nouveau)
Linux Linux kernel>=6.12<6.12.86
Linux Linux kernel>=6.13<6.18.27
Linux Linux kernel>=6.19<7.0.4

Event History

Jun 9, 2026
CVE Published
via MITRE·12:36 PM
Data Sourced
via MITRE·12:36 PM
Description
Data Sourced
via NVD·02:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-52904?

CVE-2026-52904 has a risk rating of 12.

2

What does CVE-2026-52904 affect?

CVE-2026-52904 affects the Linux kernel specifically in the drm/nouveau module.

3

How do I fix CVE-2026-52904?

To fix CVE-2026-52904, update your Linux kernel to the latest version that addresses this vulnerability.

4

When was CVE-2026-52904 published?

CVE-2026-52904 was published on June 9, 2026.

5

What issue does CVE-2026-52904 resolve?

CVE-2026-52904 resolves a leak in nvkm_device during aperture removal failure in the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203