CVE-2026-45976
drm/amdgpu: Fix memory leak in amdgpu_ras_init()
MEDIUM 5.5
En bref
- Source
- NVD
- EPSS
- EPSS 0.12 % · centile 2 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix memory leak in amdgpu_ras_init() When amdgpu_nbio_ras_sw_init() fails in amdgpu_ras_init(), the function returns directly without freeing the allocated con structure, leading to a memory leak. Fix this by jumping to the release_con label to properly clean up the allocated memory before returning the error code. Compile tested only. Issue found using a prototype static analysis tool and code review.
Faiblesses (CWE)
- CWE-401 — Mémoire non libérée après sa durée de vie utile
Références
- https://git.kernel.org/stable/c/f8a5426652bdadd4a5cb48326d48abbdfebe8153
- https://git.kernel.org/stable/c/c11cd77a18115d2cd3f4b6915c4a537b6042f950
- https://git.kernel.org/stable/c/2fef8c2ac67e7c1b0409d23653300b134c63e54c
- https://git.kernel.org/stable/c/3f43e7812b30d6b2e850218f9bb1dae60727fcef
- https://git.kernel.org/stable/c/ee41e5b63c8210525c936ee637a2c8d185ce873c
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
Références européennes
- ENISA EUVD · EUVD-2026-32260
- GCVE · GCVE-0-2026-45976
Avis du CERT-FR
- CERTFR-2026-AVI-1064 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0954 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0927 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0861 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0831 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.4 < 6.6.128cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.7 < 6.12.75cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.13 < 6.18.14cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.19 < 6.19.4
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf < f8a5426652bdadd4a5cb48326d48abbdfebe8153 ; affected fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf < c11cd77a18115d2cd3f4b6915c4a537b6042f950 ; affected fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf < 2fef8c2ac67e7c1b0409d23653300b134c63e54c ; affected fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf < 3f43e7812b30d6b2e850218f9bb1dae60727fcef ; affected fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf < ee41e5b63c8210525c936ee637a2c8d185ce873c |
| Linux · Linux | affected 6.4 ; unaffected 0 < 6.4 ; unaffected 6.6.128 ≤ 6.6.* ; unaffected 6.12.75 ≤ 6.12.* ; unaffected 6.18.14 ≤ 6.18.* ; unaffected 6.19.4 ≤ 6.19.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |