HIGH Introduced in 4.15
drm/amd CrtcReset UAF
CVE-2026-93175
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
KernelScan AI6.9MEDIUM
01Description
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]
02KernelScan AI Analysis
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.
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.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.1 | 4.15 | 6.1.191 | 0c311d5fcfcd |
| 6.12 | 4.15 | 6.12.114 | 9de069b724f3 |
| 6.18 | 4.15 | 6.18.57 | 3a03827bb3cd |
| 6.6 | 4.15 | 6.6.160 | ef3293c87a79 |
| 7.2 | 4.15 | 7.2.6 | 32bd68edbc6c |
| mainline | 4.15 | 7.3 | 0aeed866cb93 |
| cip/6.12 | 4.15 | 6.12.114-cip34 | 9de069b724f3 |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.114-cip34 |
| cip/6.1 | Affected — no CIP fix yet (latest 6.1.190-cip62) |
| cip/6.1-rt | Affected — no CIP fix yet (latest 6.1.189-cip61-rt32) |
| cip/5.10 | Affected — no CIP fix yet (latest 5.10.272-cip79) |
| cip/5.10-rt | Affected — no CIP fix yet (latest 5.10.272-cip79-rt35) |
| cip/4.19 | Affected — no CIP fix yet (latest 4.19.325-cip136) |
| cip/4.19-rt | Affected — no CIP fix yet (latest 4.19.325-cip136-rt50) |