KernelScan.io

HIGH Introduced in 4.15

drm/amd CrtcReset UAF

CVE-2026-93175

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI6.9MEDIUM

01

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix dangling pointer in CRTC reset function amdgpu_dm_crtc_reset_state() frees the old state before allocating a new one. If kzalloc() fails, the function returns without updating the state pointer, leaving a dangling pointer to already freed memory. Fix this by allocating the new state first. On allocation failure, the old state remains untouched and the function safely returns. Found by Linux Verification Center (linuxtesting.org) with SVACE. [adjust for movement around current amd-staging-drm-next]

02

Engine v0.6.0

Risk summary

A local user with access to an AMD graphics device can trigger a use-after-free in the display driver's CRTC state reset path when a memory allocation fails under pressure. The dangling pointer to freed state memory can lead to kernel memory corruption, information disclosure, or a system crash. Systems with AMD GPUs that expose DRM access to unprivileged users or container workloads are most at risk.

Affecteddrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c (drm/amd display)

Vulnerability analysis

The AMD display driver's CRTC reset function frees the existing display state object before attempting to allocate a replacement. When the allocation fails—typically under memory pressure—the state pointer is left pointing to already-freed memory, and any subsequent access to that pointer becomes a use-after-free. The fix reorders the operations so the new state is allocated first; only after a successful allocation is the old state freed, and on allocation failure the original state is preserved untouched. This path is reachable by a local user with access to the AMD graphics device, as CRTC reset occurs during display mode-setting operations, though the bug additionally requires the kernel allocator to fail, which generally demands significant memory pressure.

03

BranchIntroducedFixed inPatch commit
6.14.156.1.1910c311d5fcfcd
6.124.156.12.1149de069b724f3
6.184.156.18.573a03827bb3cd
6.64.156.6.160ef3293c87a79
7.24.157.2.632bd68edbc6c
mainline4.157.30aeed866cb93
cip/6.124.156.12.114-cip349de069b724f3

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.114-cip34
cip/6.1Affected — no CIP fix yet (latest 6.1.190-cip62)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip136)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)