{"id":"CVE-2026-52904","aliases":["CVE-2026-52904"],"related":[],"kind":"vulnerability","state":"published","title":"drm/nouveau: fix nvkm_device leak on aperture removal failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: fix nvkm_device leak on aperture removal failure\n\nWhen aperture_remove_conflicting_pci_devices() fails during probe, the\nerror path returns directly without unwinding the nvkm_device that was\njust allocated by nvkm_device_pci_new(). This leaks both the device\nwrapper and the pci_enable_device() reference taken inside it.\n\nJump to the existing fail_nvkm label so nvkm_device_del() runs and\nbalances both. The leak was introduced when the intermediate\nnvkm_device_del() between detection and aperture removal was dropped\nin favor of creating the pci device once.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: fix nvkm_device leak on aperture removal failure\n\nWhen aperture_remove_conflicting_pci_devices() fails during probe, the\nerror path returns directly without unwinding the nvkm_device that was\njust allocated by nvkm_device_pci_new(). This leaks both the device\nwrapper and the pci_enable_device() reference taken inside it.\n\nJump to the existing fail_nvkm label so nvkm_device_del() runs and\nbalances both. The leak was introduced when the intermediate\nnvkm_device_del() between detection and aperture removal was dropped\nin favor of creating the pci device once.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/nouveau: corregir fuga de nvkm_device al fallar la eliminación de la apertura\n\nCuando aperture_remove_conflicting_pci_devices() falla durante la sonda, la ruta de error regresa directamente sin desenrollar el nvkm_device que acababa de ser asignado por nvkm_device_pci_new(). Esto fuga tanto el envoltorio del dispositivo como la referencia de pci_enable_device() tomada dentro de él.\n\nSaltar a la etiqueta fail_nvkm existente para que nvkm_device_del() se ejecute y equilibre ambos. La fuga fue introducida cuando el nvkm_device_del() intermedio entre la detección y la eliminación de la apertura fue eliminado en favor de crear el dispositivo pci una sola vez.","source":"nvd"}],"published":"2026-06-09T12:36:01.237Z","modified":"2026-07-23T08:10:00.137Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"c0bfe34330b5fafdbbc63a7124841711651b96b9","fixed":"5edd564ccb002ffc830e7818c1c4a992db774678","status":"affected"},{"type":"git","introduced":"c0bfe34330b5fafdbbc63a7124841711651b96b9","fixed":"4404d7d2dda4f3cc84a8fb6ac5417a2afc3b22d6","status":"affected"},{"type":"git","introduced":"c0bfe34330b5fafdbbc63a7124841711651b96b9","fixed":"843c0247cf21364e33bb5a8ffc9af57107d04d05","status":"affected"},{"type":"git","introduced":"c0bfe34330b5fafdbbc63a7124841711651b96b9","fixed":"6597ff1d8de3f583be169587efeafd8af134e138","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12","status":"unaffected"},{"type":"semver","introduced":"6.12.86","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.27","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.4","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.12","fixed":"6.12.86"},{"status":"affected","introduced":"6.13","fixed":"6.18.27"},{"status":"affected","introduced":"6.19","fixed":"7.0.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5edd564ccb002ffc830e7818c1c4a992db774678","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4404d7d2dda4f3cc84a8fb6ac5417a2afc3b22d6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/843c0247cf21364e33bb5a8ffc9af57107d04d05","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6597ff1d8de3f583be169587efeafd8af134e138","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52904","url":"https://www.cve.org/CVERecord?id=CVE-2026-52904","licence":"CVE Terms of Use","modified":"2026-06-14T18:09:32.591Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52904","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52904","licence":"Public domain","modified":"2026-07-23T08:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:24.110Z","epss":{"score":0.00114,"percentile":0.01611,"date":"2026-12-01T12:00:22.000Z"}}