CVE-2026-93176 PUBLISHED

drm/amd/display: Fix dangling pointer in plane 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 plane reset function

amdgpu_dm_plane_drm_plane_reset() 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 5d945cbcd4b16a29d6470a80dfb19738f9a4319f to 80c0f51aced43d6eaf72f95a2833b0a77cf7880d (excl.)
  • affected from 5d945cbcd4b16a29d6470a80dfb19738f9a4319f to 98cad4bd1443975d972f4c7f705980da03722a22 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.0 is affected
  • unaffected from 0 to 6.0 (excl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References