# CVE-2026-99150: drm/amdgpu: don't drop the runtime PM reference twice in amdgpu_gpr

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-10-28T10:35:05.753Z
- Modified: 2026-10-30T13:21:48.737Z
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 before 24c1f6e381d564e5f6893323cfe0264950358451; from 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 before c333834b1b9cbb1021c954d29fa2373ac9e73499; from 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 before eda6b57a83d942199a5947e73556fe918affad86; from 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 before f9c0b333a5e44f734478ca8a7345f8b87d65ba7c; from 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 before 35aa048f242cade635f17924183c1df0ffe7a486; from 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 before 652b1f26125fe48aed5f4944698a85b457eef491; from 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 before 253555a9baccefffe1f6e5f2fe54363c7c01ebb9; from 9eee152aab56d374edb9ad21b3db05f5cdda2fe6 before de9f6bcdb44f0e410031002e2f103826ea6b6259; 865e2dbadf6856c9219626fbd6154cac44e5fbca; from 5.8.2 before 5.9; 5.9 (not affected: before 5.9; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.161 up to 6.6.*; from 6.12.115 up to 6.12.*; from 6.18.59 up to 6.18.*; from 7.2.13 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-99150](https://www.cve.org/CVERecord?id=CVE-2026-99150), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-99150](https://nvd.nist.gov/vuln/detail/CVE-2026-99150), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-99150 · Whole record: https://cve.day/CVE-2026-99150.json · Rebuilt by cve.day 2026-11-25T22:59:47.578Z
