CVE-2026-68273
published high CVSS 3.1 · 7.8drm/amdgpu: Fix context pstate override handling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux79610d3041338dc1ef554d6fd8b3b3e23be527f5 to < ebed6179c993f07da24d0a454816e7da790377af · 79610d3041338dc1ef554d6fd8b3b3e23be527f5 to < 3531910845165dcf1a213267199ccc97e03cd58a · 79610d3041338dc1ef554d6fd8b3b3e23be527f5 to < 23a8726e1d7597fe7c9a59d5dc42ba8b7d345b8a · 79610d3041338dc1ef554d6fd8b3b3e23be527f5 to < e06c39cc1c48dca68a5ffd971c23025a52d46634 · 79610d3041338dc1ef554d6fd8b3b3e23be527f5 to < 9f9c88eb298c54348be3ca4087f4f4c615065b87 · 79610d3041338dc1ef554d6fd8b3b3e23be527f5 to < c1dc4ccb82c9e56325d8e7514ca4c90bd1efb351 · 6607901fce79959130db485e7549dacaaeef034e · 6.0.7 to < 6.1 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.103 through 6.12.* (unaffected · semver) · 6.18.44 through 6.18.* (unaffected · semver) · 7.1.6 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-211.60.1.el10_2 | ALSA-2026:71602 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.60.1.el10_2 | ALSA-2026:71602 |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.169.1.rt7.510.el8_10 | ALSA-2026:72467 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.169.1.el8_10 | ALSA-2026:72468 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-687.52.1.el9_8 | ALSA-2026:71700 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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)
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached only through the DRM_IOCTL_AMDGPU_CTX ioctl on a local /dev/dri/renderD* or card* node (registered DRM_AUTH|DRM_RENDER_ALLOW in amdgpu_drv.c:3063), and the racing writer is the local sysfs power_dpm_force_performance_level path. No network or adjacent-network path reaches amdgpu context pstate handling. AC:L - The attacker owns both sides of the race — one thread loops AMDGPU_CTX_OP_SET_STABLE_PSTATE and context free while another loops AMDGPU_CTX_OP_ALLOC_CTX — and can retry indefinitely. The dangling-pointer variant (fini re-assigning adev->pm.stable_pstate_ctx = ctx just before kfree) needs no race at all: once latched, every later context creation dereferences freed memory deterministically. PR:L - No capability or authorization check exists anywhere on the path (amdgpu_ctx_ioctl -> amdgpu_ctx_alloc/amdgpu_ctx_stable_pstate -> amdgpu_ctx_init); an unprivileged local user only needs an open render node fd, which is routinely granted to desktop users in the render/video group, to containers, sandboxed GPU processes, and to ordinary apps on Android/Chrome OS. UI:N - The attacker triggers everything with its own ioctls on its own file descriptors and its own threads; no action by another user or administrator is required, and the crash or freed-object read happens synchronously in the attacker's own syscall. S:U - The corrupted state (adev->pm.stable_pstate_ctx and the freed struct amdgpu_ctx) and all consequences stay within the kernel of the machine running the amdgpu driver; no VM, IOMMU, or sandbox security boundary is crossed. C:H - amdgpu_ctx_init() dereferences a stale adev->pm.stable_pstate_ctx pointer after the context has been kfree()d, reading a field out of a freed kmalloc object that the attacker can reclaim and control via heap spraying; per kernel scoring guidance a use-after-free is treated as High since freed-object access can be leveraged toward kernel memory disclosure. I:H - The unlocked read/write of the global pstate-owner pointer leaves a dangling kernel pointer in adev->pm.stable_pstate_ctx and lets a freed, attacker-reclaimable object drive amdgpu_dpm_force_performance_level(); the commit also documents context teardown trampling the DPM configuration set through root-only sysfs, so an unprivileged user corrupts privileged device state. A:H - The unlocked check-then-use of adev->pm.stable_pstate_ctx yields a NULL pointer dereference when a concurrent fini or sysfs write clears it, and the stale-pointer case faults on freed or unmapped slab memory — either produces a kernel oops and a wedged GPU, repeatable at will by an unprivileged local user.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 79610d3041338dc1ef554d6fd8b3b3e23be527f5 to < ebed6179c993f07da24d0a454816e7da790377af (affected · git)79610d3041338dc1ef554d6fd8b3b3e23be527f5 to < 3531910845165dcf1a213267199ccc97e03cd58a (affected · git)79610d3041338dc1ef554d6fd8b3b3e23be527f5 to < 23a8726e1d7597fe7c9a59d5dc42ba8b7d345b8a (affected · git)79610d3041338dc1ef554d6fd8b3b3e23be527f5 to < e06c39cc1c48dca68a5ffd971c23025a52d46634 (affected · git)79610d3041338dc1ef554d6fd8b3b3e23be527f5 to < 9f9c88eb298c54348be3ca4087f4f4c615065b87 (affected · git)79610d3041338dc1ef554d6fd8b3b3e23be527f5 to < c1dc4ccb82c9e56325d8e7514ca4c90bd1efb351 (affected · git)6607901fce79959130db485e7549dacaaeef034e (affected · git)6.0.7 to < 6.1 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.1 (affected)0 to < 6.1 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.103 through 6.12.* (unaffected · semver)6.18.44 through 6.18.* (unaffected · semver)7.1.6 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
6- https://git.kernel.org/stable/c/23a8726e1d7597fe7c9a59d5dc42ba8b7d345b8a
- https://git.kernel.org/stable/c/3531910845165dcf1a213267199ccc97e03cd58a
- https://git.kernel.org/stable/c/9f9c88eb298c54348be3ca4087f4f4c615065b87
- https://git.kernel.org/stable/c/c1dc4ccb82c9e56325d8e7514ca4c90bd1efb351
- https://git.kernel.org/stable/c/e06c39cc1c48dca68a5ffd971c23025a52d46634
- https://git.kernel.org/stable/c/ebed6179c993f07da24d0a454816e7da790377af
Provider assertions
2Linux · cna
drm/amdgpu: Fix context pstate override handling
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ab2b6015c4526240da190c9a5e6f04afe7c59e22f5f16025c0291df9634e906c
- Ingested
- 30 Oct 2026, 12:43:17 UTC
- Source record
- Official CVE record