CVE-2026-68273
drm/amdgpu: Fix context pstate override handling
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix context pstate override handling There are several problems in the context pstate handling code. The most serious ones are potential use-after-free and NULL pointer dereferences at context initialization time. Both are due amdgpu_ctx_init() not holding the adev->pm.stable_pstate_ctx_lock, which is otherwise used from both sysfs and the context code itself for modifying and clearing the stored context pointer. Second issue is that context fini can trample over the pstate configuration set via sysfs. This is due the restore state (ctx->stable_pstate) being saved at context init time, and not if, or when the context actually changes the pstate. As the context exits it will therefore incorrectly restore to what was set before the sysfs override was requested. The simplest fix is to drastically simplify how the state is tracked, by clearly defining the points at which pstate ownership is taken and released, and to handle all transitions under the correct lock. Instead of at context init time, the previous state is saved only at the point the context overrides the current state, and is restored on context exit only if the context is still the owner of the current override state. (cherry picked from commit 1b5e413713c0a93bc1818394d0ce49aaad21bd27)
INFO
Published Date :
Aug. 10, 2026, 1:20 p.m.
Last Modified :
Aug. 17, 2026, 5:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Apply the patch to fix context pstate override handling.
- Ensure state transitions are handled under the correct lock.
- Save previous state only when context overrides current state.
- Restore state on context exit if context still owns override.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-68273.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-68273 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-68273
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-68273 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-68273 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '79610d3041338dc1ef554d6fd8b3b3e23be527f5', 'lessThan': '23a8726e1d7597fe7c9a59d5dc42ba8b7d345b8a', 'versionType': 'git'}, {'status': 'affected', 'version': '79610d3041338dc1ef554d6fd8b3b3e23be527f5', 'lessThan': 'e06c39cc1c48dca68a5ffd971c23025a52d46634', 'versionType': 'git'}, {'status': 'affected', 'version': '79610d3041338dc1ef554d6fd8b3b3e23be527f5', 'lessThan': '9f9c88eb298c54348be3ca4087f4f4c615065b87', 'versionType': 'git'}, {'status': 'affected', 'version': '79610d3041338dc1ef554d6fd8b3b3e23be527f5', 'lessThan': 'c1dc4ccb82c9e56325d8e7514ca4c90bd1efb351', 'versionType': 'git'}, {'status': 'affected', 'version': '6607901fce79959130db485e7549dacaaeef034e', 'versionType': 'git'}, {'status': 'affected', 'version': '6.0.7', 'lessThan': '6.1', 'versionType': 'semver'}], 'programFiles': ['drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.103', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.44', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '79610d3041338dc1ef554d6fd8b3b3e23be527f5', 'lessThan': '23a8726e1d7597fe7c9a59d5dc42ba8b7d345b8a', 'versionType': 'git'}, {'status': 'affected', 'version': '79610d3041338dc1ef554d6fd8b3b3e23be527f5', 'lessThan': 'e06c39cc1c48dca68a5ffd971c23025a52d46634', 'versionType': 'git'}, {'status': 'affected', 'version': '79610d3041338dc1ef554d6fd8b3b3e23be527f5', 'lessThan': '9f9c88eb298c54348be3ca4087f4f4c615065b87', 'versionType': 'git'}, {'status': 'affected', 'version': '79610d3041338dc1ef554d6fd8b3b3e23be527f5', 'lessThan': 'c1dc4ccb82c9e56325d8e7514ca4c90bd1efb351', 'versionType': 'git'}, {'status': 'affected', 'version': '6607901fce79959130db485e7549dacaaeef034e', 'versionType': 'git'}, {'status': 'affected', 'version': '6.0.7', 'lessThan': '6.1', 'versionType': 'semver'}], 'programFiles': ['drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.103', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.44', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 13, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 10, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '79610d3041338dc1ef554d6fd8b3b3e23be527f5', 'lessThan': '23a8726e1d7597fe7c9a59d5dc42ba8b7d345b8a', 'versionType': 'git'}, {'status': 'affected', 'version': '79610d3041338dc1ef554d6fd8b3b3e23be527f5', 'lessThan': 'e06c39cc1c48dca68a5ffd971c23025a52d46634', 'versionType': 'git'}, {'status': 'affected', 'version': '79610d3041338dc1ef554d6fd8b3b3e23be527f5', 'lessThan': '9f9c88eb298c54348be3ca4087f4f4c615065b87', 'versionType': 'git'}, {'status': 'affected', 'version': '79610d3041338dc1ef554d6fd8b3b3e23be527f5', 'lessThan': 'c1dc4ccb82c9e56325d8e7514ca4c90bd1efb351', 'versionType': 'git'}, {'status': 'affected', 'version': '6607901fce79959130db485e7549dacaaeef034e', 'versionType': 'git'}, {'status': 'affected', 'version': '6.0.7', 'lessThan': '6.1', 'versionType': 'semver'}], 'programFiles': ['drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.103', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.44', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix context pstate override handling There are several problems in the context pstate handling code. The most serious ones are potential use-after-free and NULL pointer dereferences at context initialization time. Both are due amdgpu_ctx_init() not holding the adev->pm.stable_pstate_ctx_lock, which is otherwise used from both sysfs and the context code itself for modifying and clearing the stored context pointer. Second issue is that context fini can trample over the pstate configuration set via sysfs. This is due the restore state (ctx->stable_pstate) being saved at context init time, and not if, or when the context actually changes the pstate. As the context exits it will therefore incorrectly restore to what was set before the sysfs override was requested. The simplest fix is to drastically simplify how the state is tracked, by clearly defining the points at which pstate ownership is taken and released, and to handle all transitions under the correct lock. Instead of at context init time, the previous state is saved only at the point the context overrides the current state, and is restored on context exit only if the context is still the owner of the current override state. (cherry picked from commit 1b5e413713c0a93bc1818394d0ce49aaad21bd27) Added Reference https://git.kernel.org/stable/c/23a8726e1d7597fe7c9a59d5dc42ba8b7d345b8a Added Reference https://git.kernel.org/stable/c/9f9c88eb298c54348be3ca4087f4f4c615065b87 Added Reference https://git.kernel.org/stable/c/c1dc4ccb82c9e56325d8e7514ca4c90bd1efb351 Added Reference https://git.kernel.org/stable/c/e06c39cc1c48dca68a5ffd971c23025a52d46634