← CVE Intelligence

CVE-2026-93175

drm/amd/display: Fix dangling pointer in CRTC reset function PUBLISHED

Description (CNA)

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]

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected e7b07ceef2a650e5ed8ca37997689e086c680daf before ef3293c87a79f734d506769ff86f99bf1bad522e; affected e7b07ceef2a650e5ed8ca37997689e086c680daf before 9de069b724f3614ed7dd55bfbb37c434db54e128; affected e7b07ceef2a650e5ed8ca37997689e086c680daf before 3a03827bb3cda1527aa923f18160c449f2b4cf2c; affected e7b07ceef2a650e5ed8ca37997689e086c680daf before 32bd68edbc6cbcfac0e4033b64f0bcadbf0efef5; affected e7b07ceef2a650e5ed8ca37997689e086c680daf before 0aeed866cb938943908c3ba46422128e49d2d080
Linux / Linuxaffected 4.15; unaffected 0 before 4.15; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.57 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through *

CWE

No CWE identifiers supplied.

References