drm/amdgpu: don't drop the runtime PM reference twice in amdgpu_gpr
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 5.8.2, < 5.9→ 5.9 ≥ 5.9.0, < 5.10.273→ 5.10.273 ≥ 5.11.0, < 5.15.224→ 5.15.224 ≥ 5.16.0, < 6.1.191→ 6.1.191 ≥ 6.2.0, < 6.6.161→ 6.6.161 ≥ 6.7.0, < 6.12.115→ 6.12.115 ≥ 6.13.0, < 6.18.59→ 6.18.59 ≥ 6.19.0, < 7.2.13→ 7.2.13 |
5.9 5.10.273 5.15.224 6.1.191 6.6.161 6.12.115 6.18.59 7.2.13 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99150 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99150 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99150 linux-vmware, linux-riscv, linux-realtime-6.8 +38 more Fix available
Original description The description as published by the source.
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)
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org