CVE-2026-99150

drm/amdgpu: don't drop the runtime PM reference twice in amdgpu_gpr

Published Oct 28, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
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)

Analysis

AI-generated

Technical impact

The Linux kernel’s AMDGPU driver incorrectly drops the runtime power‑management reference twice when reading the GPR debug interface. The first decrement occurs after reading wave registers; a second decrement is performed in the error path when the copy to user space fails. This double decrement can underflow the usage counter from 1 to 0, making the kernel believe the device is idle and potentially power it down. The flaw is a classic resource–management issue (CWE-911) and can leave the device in an unstable state or cause a system hang, effectively providing a denial‑of‑service pathway.

Affected Systems

This vulnerability appears in any Linux kernel version that contains the buggy amdgpu_debugfs_gpr_read() implementation and lacks commit 31035bbd. It is most relevant on systems with AMD Navi31 GPUs where the GPR interface is used. The affected vendors are the Linux kernel and the AMDGPU driver bundled with it.

Risk and Exploitability

The CVSS score of 4.4 denotes a medium severity, while the EPSS score of < 1% indicates a very low probability of exploitation. The flaw is not listed in the CISA KEV catalog. The likely attack vector requires local privileged access to invoke the debugfs GPR read operation, which is restricted to root or trusted users. Because the vector is inferred from the need to trigger the error path via a bad buffer, the actual exposure depends on how the debugfs interface is secured in a given deployment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the commit 31035bbd, which removes the double drop of the runtime PM reference.
  • Limit access to the AMDGPU debugfs GPR interface so that only trusted users or processes can read it, preventing unauthorized attempts to trigger the bug.
  • Watch kernel logs for the message ‘Runtime PM usage count underflow!’ and investigate any occurrences as potential exploitation attempts.

Generated by OpenCVE AI on October 30, 2026 at 05:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
History
Type Values Removed Values Added
Weaknesses CWE-416
CWE-682
Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-416
CWE-682
Type Values Removed Values Added
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)
Title drm/amdgpu: don't drop the runtime PM reference twice in amdgpu_gpr
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-911

    Improper Update of Reference Count

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:42 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 28, 2026, 11:17 AM
Modified
Oct 30, 2026, 1:21 PM
Severity
Moderate
Public date
Oct 28, 2026, 10:35 AM