CVE-2026-93175 PUBLISHED

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

Assigner: Linux
Reserved: 17.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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]

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from e7b07ceef2a650e5ed8ca37997689e086c680daf to 32bd68edbc6cbcfac0e4033b64f0bcadbf0efef5 (excl.)
  • affected from e7b07ceef2a650e5ed8ca37997689e086c680daf to 0aeed866cb938943908c3ba46422128e49d2d080 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.15 is affected
  • unaffected from 0 to 4.15 (excl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References