Bug 2513434 (CVE-2026-68273) - CVE-2026-68273 kernel: drm/amdgpu: Fix context pstate override handling
Summary: CVE-2026-68273 kernel: drm/amdgpu: Fix context pstate override handling
Keywords:
Status: NEW
Alias: CVE-2026-68273
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-10 12:37 UTC by OSIDB Bzimport
Modified: 2026-09-28 12:03 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:71602 0 None None None 2026-09-24 15:05:25 UTC
Red Hat Product Errata RHSA-2026:71700 0 None None None 2026-09-25 06:13:05 UTC
Red Hat Product Errata RHSA-2026:72467 0 None None None 2026-09-28 11:13:21 UTC
Red Hat Product Errata RHSA-2026:72468 0 None None None 2026-09-28 12:03:37 UTC

Description OSIDB Bzimport 2026-08-10 12:37:07 UTC
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)

Comment 1 Mauro Matteo Cascella 2026-08-11 12:51:41 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026081024-CVE-2026-68273-0f78@gregkh/T

Comment 6 Jon Orris 2026-09-24 15:05:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:71602 https://access.redhat.com/errata/RHSA-2026:71602

Comment 7 Jon Orris 2026-09-25 06:13:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:71700 https://access.redhat.com/errata/RHSA-2026:71700

Comment 8 Jon Orris 2026-09-28 11:13:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:72467 https://access.redhat.com/errata/RHSA-2026:72467

Comment 9 Jon Orris 2026-09-28 12:03:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:72468 https://access.redhat.com/errata/RHSA-2026:72468


Note You need to log in before you can comment on or make changes to this bug.