# CVE-2026-68273: drm/amdgpu: Fix context pstate override handling

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.13% (percentile 1, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-08-10T12:01:48.734Z
- **Modified:** 2026-10-30T13:19:42.770Z

## Who should check

- Anyone running Linux \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< ebed6179c993f07da24d0a454816e7da790377af; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< 3531910845165dcf1a213267199ccc97e03cd58a; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< 23a8726e1d7597fe7c9a59d5dc42ba8b7d345b8a; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< e06c39cc1c48dca68a5ffd971c23025a52d46634; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< 9f9c88eb298c54348be3ca4087f4f4c615065b87; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< c1dc4ccb82c9e56325d8e7514ca4c90bd1efb351; 6607901fce79959130db485e7549dacaaeef034e; \>= 6.0.7, \< 6.1
- Anyone running Linux 6.1

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

## Affected and fixed versions

- Linux: \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< ebed6179c993f07da24d0a454816e7da790377af; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< 3531910845165dcf1a213267199ccc97e03cd58a; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< 23a8726e1d7597fe7c9a59d5dc42ba8b7d345b8a; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< e06c39cc1c48dca68a5ffd971c23025a52d46634; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< 9f9c88eb298c54348be3ca4087f4f4c615065b87; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< c1dc4ccb82c9e56325d8e7514ca4c90bd1efb351; 6607901fce79959130db485e7549dacaaeef034e; \>= 6.0.7, \< 6.1 (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 6.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68273. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68273.md
Affected: Linux >= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, < ebed6179c993f07da24d0a454816e7da790377af; >= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, < 3531910845165dcf1a213267199ccc97e03cd58a; >= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, < 23a8726e1d7597fe7c9a59d5dc42ba8b7d345b8a; >= 79610d3041338dc1ef554d6…
Fixed in: Linux 3531910845165dcf1a213267199ccc97e03cd58a, Linux 23a8726e1d7597fe7c9a59d5dc42ba8b7d345b8a, Linux 9f9c88eb298c54348be3ca4087f4f4c615065b87, Linux 6.1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68273 being exploited?

There is no confirmed exploitation: CVE-2026-68273 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.13% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68273?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-68273?

Linux \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< ebed6179c993f07da24d0a454816e7da790377af; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< 3531910845165dcf1a213267199ccc97e03cd58a; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< 23a8726e1d7597fe7c9a59d5dc42ba8b7d345b8a; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< e06c39cc1c48dca68a5ffd971c23025a52d46634; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< 9f9c88eb298c54348be3ca4087f4f4c615065b87; \>= 79610d3041338dc1ef554d6fd8b3b3e23be527f5, \< c1dc4ccb82c9e56325d8e7514ca4c90bd1efb351; 6607901fce79959130db485e7549dacaaeef034e; \>= 6.0.7, \< 6.1; Linux 6.1.

### Is there a fix for CVE-2026-68273?

Yes. Fixed in Linux 3531910845165dcf1a213267199ccc97e03cd58a, Linux 23a8726e1d7597fe7c9a59d5dc42ba8b7d345b8a, Linux 9f9c88eb298c54348be3ca4087f4f4c615065b87, Linux 6.1. Upgrade Linux to 6.1 or later.

### How do I check if I'm affected by CVE-2026-68273?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/ebed6179c993f07da24d0a454816e7da790377af>
- other: <https://git.kernel.org/stable/c/3531910845165dcf1a213267199ccc97e03cd58a>
- other: <https://git.kernel.org/stable/c/23a8726e1d7597fe7c9a59d5dc42ba8b7d345b8a>
- other: <https://git.kernel.org/stable/c/e06c39cc1c48dca68a5ffd971c23025a52d46634>
- other: <https://git.kernel.org/stable/c/9f9c88eb298c54348be3ca4087f4f4c615065b87>
- other: <https://git.kernel.org/stable/c/c1dc4ccb82c9e56325d8e7514ca4c90bd1efb351>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68273>

HTML: <https://flawdb.com/CVE-2026-68273> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68273>
