CVEvulnerability
CVE-2026-52904
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-06-09
- Last modified
- 2026-07-23
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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 configurations
• linux linux kernel (>= 6.12 < 6.12.86)
• linux linux kernel (>= 6.13 < 6.18.27)
• linux linux kernel (>= 6.19 < 7.0.4)
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/4404d7d2dda4f3cc84a8fb6ac5417a2afc3b22d6 Patch
- https://git.kernel.org/stable/c/5edd564ccb002ffc830e7818c1c4a992db774678 Patch
- https://git.kernel.org/stable/c/6597ff1d8de3f583be169587efeafd8af134e138 Patch
- https://git.kernel.org/stable/c/843c0247cf21364e33bb5a8ffc9af57107d04d05 Patch