drm/amdgpu: don't drop the runtime PM reference twice in amdgpu_gpr (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 13 ()
- 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/amdgpu: don't drop the runtime PM reference twice in amdgpu_gpr amdgpu_debugfs_gpr_read() drops its runtime PM reference right after reading the wave registers. When copying them to userspace fails, it jumps to the err label, which drops the reference a second time. A read into a bad buffer on Navi31 either steals a reference somebody else holds (power/runtime_usage goes from 1 to 0) or underflows the count: amdgpu 0000:03:00.0: Runtime PM usage count underflow! The registers are already in the kernel buffer at that point, so finish the hardware access first and copy the buffer with a single copy_to_user() instead of the put_user() loop with its own error path. (cherry picked from commit 31035bbd74f7c3e10c163db875b8e67f8b50ee6a)
References
- https://git.kernel.org/stable/c/24c1f6e381d564e5f6893323cfe0264950358451
- https://git.kernel.org/stable/c/c333834b1b9cbb1021c954d29fa2373ac9e73499
- https://git.kernel.org/stable/c/eda6b57a83d942199a5947e73556fe918affad86
- https://git.kernel.org/stable/c/f9c0b333a5e44f734478ca8a7345f8b87d65ba7c
- https://git.kernel.org/stable/c/35aa048f242cade635f17924183c1df0ffe7a486
- https://git.kernel.org/stable/c/652b1f26125fe48aed5f4944698a85b457eef491
- https://git.kernel.org/stable/c/253555a9baccefffe1f6e5f2fe54363c7c01ebb9
- https://git.kernel.org/stable/c/de9f6bcdb44f0e410031002e2f103826ea6b6259
European references
- ENISA EUVD · EUVD-2026-111902
- GCVE · GCVE-0-2026-99150
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-1593 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE · 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-1470 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 < 24c1f6e381d564e5f6893323cfe0264950358451 affected : ≥ 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 < c333834b1b9cbb1021c954d29fa2373ac9e73499 affected : ≥ 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 < eda6b57a83d942199a5947e73556fe918affad86 affected : ≥ 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 < f9c0b333a5e44f734478ca8a7345f8b87d65ba7c affected : ≥ 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 < 35aa048f242cade635f17924183c1df0ffe7a486 affected : ≥ 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 < 652b1f26125fe48aed5f4944698a85b457eef491 affected : ≥ 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 < 253555a9baccefffe1f6e5f2fe54363c7c01ebb9 affected : ≥ 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 < de9f6bcdb44f0e410031002e2f103826ea6b6259 affected : 865e2dbadf6856c9219626fbd6154cac44e5fbca affected : ≥ 5.8.2 < 5.9 Other versions : unaffected |
| Linux · Linux | affected : 5.9 unaffected : ≥ 0 < 5.9 unaffected : ≥ 5.10.273 ≤ 5.10.* unaffected : ≥ 5.15.224 ≤ 5.15.* unaffected : ≥ 6.1.191 ≤ 6.1.* unaffected : ≥ 6.6.161 ≤ 6.6.* unaffected : ≥ 6.12.115 ≤ 6.12.* unaffected : ≥ 6.18.59 ≤ 6.18.* unaffected : ≥ 7.2.13 ≤ 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 |