drm/amd/display: Fix dangling pointer in CRTC reset function (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % · percentile 6 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix dangling pointer in CRTC reset function amdgpu_dm_crtc_reset_state() frees the old state before allocating a new one. If kzalloc() fails, the function returns without updating the state pointer, leaving a dangling pointer to already freed memory. Fix this by allocating the new state first. On allocation failure, the old state remains untouched and the function safely returns. Found by Linux Verification Center (linuxtesting.org) with SVACE. [adjust for movement around current amd-staging-drm-next]
References
- https://git.kernel.org/stable/c/0c311d5fcfcd4e83c1aeeb4fccb04861be3357a9
- https://git.kernel.org/stable/c/ef3293c87a79f734d506769ff86f99bf1bad522e
- https://git.kernel.org/stable/c/9de069b724f3614ed7dd55bfbb37c434db54e128
- https://git.kernel.org/stable/c/3a03827bb3cda1527aa923f18160c449f2b4cf2c
- https://git.kernel.org/stable/c/32bd68edbc6cbcfac0e4033b64f0bcadbf0efef5
- https://git.kernel.org/stable/c/0aeed866cb938943908c3ba46422128e49d2d080
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-82283
- GCVE · GCVE-0-2026-93175
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1595 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ e7b07ceef2a650e5ed8ca37997689e086c680daf < 0c311d5fcfcd4e83c1aeeb4fccb04861be3357a9 affected : ≥ e7b07ceef2a650e5ed8ca37997689e086c680daf < ef3293c87a79f734d506769ff86f99bf1bad522e affected : ≥ e7b07ceef2a650e5ed8ca37997689e086c680daf < 9de069b724f3614ed7dd55bfbb37c434db54e128 affected : ≥ e7b07ceef2a650e5ed8ca37997689e086c680daf < 3a03827bb3cda1527aa923f18160c449f2b4cf2c affected : ≥ e7b07ceef2a650e5ed8ca37997689e086c680daf < 32bd68edbc6cbcfac0e4033b64f0bcadbf0efef5 affected : ≥ e7b07ceef2a650e5ed8ca37997689e086c680daf < 0aeed866cb938943908c3ba46422128e49d2d080 Other versions : unaffected |
| Linux · Linux | affected : 4.15 unaffected : ≥ 0 < 4.15 unaffected : ≥ 6.1.191 ≤ 6.1.* unaffected : ≥ 6.6.160 ≤ 6.6.* unaffected : ≥ 6.12.114 ≤ 6.12.* unaffected : ≥ 6.18.57 ≤ 6.18.* unaffected : ≥ 7.2.6 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
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 |