drm/amd/display: Fix dangling pointer in plane reset function (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.14 % · percentile 4 ()
- 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 plane reset function amdgpu_dm_plane_drm_plane_reset() 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/154883749cae674fb38e83c1b3a096ce71122229
- https://git.kernel.org/stable/c/cda8af27b787d79eadc4eb8109d9f2e856dadac2
- https://git.kernel.org/stable/c/0999a267bdc13648b6b0db893e7eabe30bc13e7c
- https://git.kernel.org/stable/c/3d8391d3149a1aeb93505a4f9fb9ed8364882c42
- https://git.kernel.org/stable/c/80c0f51aced43d6eaf72f95a2833b0a77cf7880d
- https://git.kernel.org/stable/c/98cad4bd1443975d972f4c7f705980da03722a22
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/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-82284
- GCVE · GCVE-0-2026-93176
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-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 5d945cbcd4b16a29d6470a80dfb19738f9a4319f < 154883749cae674fb38e83c1b3a096ce71122229 affected : ≥ 5d945cbcd4b16a29d6470a80dfb19738f9a4319f < cda8af27b787d79eadc4eb8109d9f2e856dadac2 affected : ≥ 5d945cbcd4b16a29d6470a80dfb19738f9a4319f < 0999a267bdc13648b6b0db893e7eabe30bc13e7c affected : ≥ 5d945cbcd4b16a29d6470a80dfb19738f9a4319f < 3d8391d3149a1aeb93505a4f9fb9ed8364882c42 affected : ≥ 5d945cbcd4b16a29d6470a80dfb19738f9a4319f < 80c0f51aced43d6eaf72f95a2833b0a77cf7880d affected : ≥ 5d945cbcd4b16a29d6470a80dfb19738f9a4319f < 98cad4bd1443975d972f4c7f705980da03722a22 Other versions : unaffected |
| Linux · Linux | affected : 6.0 unaffected : ≥ 0 < 6.0 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 |