{"id":"CVE-2026-99150","state":"PUBLISHED","title":"drm/amdgpu: don't drop the runtime PM reference twice in amdgpu_gpr","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: don't drop the runtime PM reference twice in amdgpu_gpr\n\namdgpu_debugfs_gpr_read() drops its runtime PM reference right after\nreading the wave registers. When copying them to userspace fails, it\njumps to the err label, which drops the reference a second time. A read\ninto a bad buffer on Navi31 either steals a reference somebody else\nholds (power/runtime_usage goes from 1 to 0) or underflows the count:\n\n  amdgpu 0000:03:00.0: Runtime PM usage count underflow!\n\nThe registers are already in the kernel buffer at that point, so finish\nthe hardware access first and copy the buffer with a single\ncopy_to_user() instead of the put_user() loop with its own error path.\n\n(cherry picked from commit 31035bbd74f7c3e10c163db875b8e67f8b50ee6a)","publishedAt":"2026-10-28T10:35:05.753Z","updatedAt":"2026-10-30T12:42:17.152Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"24c1f6e381d564e5f6893323cfe0264950358451","versionType":"git"},{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"c333834b1b9cbb1021c954d29fa2373ac9e73499","versionType":"git"},{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"eda6b57a83d942199a5947e73556fe918affad86","versionType":"git"},{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"f9c0b333a5e44f734478ca8a7345f8b87d65ba7c","versionType":"git"},{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"35aa048f242cade635f17924183c1df0ffe7a486","versionType":"git"},{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"652b1f26125fe48aed5f4944698a85b457eef491","versionType":"git"},{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"253555a9baccefffe1f6e5f2fe54363c7c01ebb9","versionType":"git"},{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"de9f6bcdb44f0e410031002e2f103826ea6b6259","versionType":"git"},{"version":"865e2dbadf6856c9219626fbd6154cac44e5fbca","status":"affected","versionType":"git"},{"version":"5.8.2","status":"affected","lessThan":"5.9","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.9","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.161","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.115","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.59","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-30T13:02:04.640Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99150.json","commit":"cb14bf1b43b0c9f05f7f40eae2246263fd430780","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99150","state":"PUBLISHED","datePublished":"2026-10-28T10:35:05.753Z","dateUpdated":"2026-10-30T12:42:17.152Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.396Z"},"containers":{"cna":{"title":"drm/amdgpu: don't drop the runtime PM reference twice in amdgpu_gpr","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: don't drop the runtime PM reference twice in amdgpu_gpr\n\namdgpu_debugfs_gpr_read() drops its runtime PM reference right after\nreading the wave registers. When copying them to userspace fails, it\njumps to the err label, which drops the reference a second time. A read\ninto a bad buffer on Navi31 either steals a reference somebody else\nholds (power/runtime_usage goes from 1 to 0) or underflows the count:\n\n  amdgpu 0000:03:00.0: Runtime PM usage count underflow!\n\nThe registers are already in the kernel buffer at that point, so finish\nthe hardware access first and copy the buffer with a single\ncopy_to_user() instead of the put_user() loop with its own error path.\n\n(cherry picked from commit 31035bbd74f7c3e10c163db875b8e67f8b50ee6a)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"24c1f6e381d564e5f6893323cfe0264950358451","versionType":"git"},{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"c333834b1b9cbb1021c954d29fa2373ac9e73499","versionType":"git"},{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"eda6b57a83d942199a5947e73556fe918affad86","versionType":"git"},{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"f9c0b333a5e44f734478ca8a7345f8b87d65ba7c","versionType":"git"},{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"35aa048f242cade635f17924183c1df0ffe7a486","versionType":"git"},{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"652b1f26125fe48aed5f4944698a85b457eef491","versionType":"git"},{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"253555a9baccefffe1f6e5f2fe54363c7c01ebb9","versionType":"git"},{"version":"9eee152aab56d374edb9ad21b3db05f5cdda2fe6","status":"affected","lessThan":"de9f6bcdb44f0e410031002e2f103826ea6b6259","versionType":"git"},{"version":"865e2dbadf6856c9219626fbd6154cac44e5fbca","status":"affected","versionType":"git"},{"version":"5.8.2","status":"affected","lessThan":"5.9","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.9","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.161","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.115","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.59","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/24c1f6e381d564e5f6893323cfe0264950358451"},{"url":"https://git.kernel.org/stable/c/c333834b1b9cbb1021c954d29fa2373ac9e73499"},{"url":"https://git.kernel.org/stable/c/eda6b57a83d942199a5947e73556fe918affad86"},{"url":"https://git.kernel.org/stable/c/f9c0b333a5e44f734478ca8a7345f8b87d65ba7c"},{"url":"https://git.kernel.org/stable/c/35aa048f242cade635f17924183c1df0ffe7a486"},{"url":"https://git.kernel.org/stable/c/652b1f26125fe48aed5f4944698a85b457eef491"},{"url":"https://git.kernel.org/stable/c/253555a9baccefffe1f6e5f2fe54363c7c01ebb9"},{"url":"https://git.kernel.org/stable/c/de9f6bcdb44f0e410031002e2f103826ea6b6259"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:42:17.152Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"5.10.273"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"5.15.224"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"6.6.161"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"6.12.115"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"6.18.59"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"7.2.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.9","versionEndExcluding":"7.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}