CVE-2026-68236 PUBLISHED

drm/amd/display: set new_stream to NULL after release

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: set new_stream to NULL after release

In dm_update_crtc_state(), the skip_modeset path releases new_stream via dc_stream_release() but does not set the pointer to NULL.

If a later error (e.g., color management failure) triggers the fail label, the error path calls dc_stream_release() again on the same dangling pointer, causing a double release and potential use-after-free.

Fix this by setting new_stream to NULL after the initial release.

(cherry picked from commit 99f3af19073b3ddbfd96e789124cce12c4277b28)

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f to ba8bf1dcbb44773e7a0fd13b42925c644e0d5e76 (excl.)
  • affected from 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f to 5182e442e61397d446c36995b8f5676942d35b82 (excl.)
  • affected from 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f to 679f23f0a3606afcef1ffabd72222f00a54ad9e3 (excl.)
  • affected from 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f to 0676fecbb5242aa22c057e78326d6d6041db034c (excl.)
  • affected from 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f to 9fa26b9eed6195bf840f39ac183b9a6237548755 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.15 is affected
  • unaffected from 0 to 4.15 (excl.)
  • unaffected from 6.6.148 to 6.6.* (incl.)
  • unaffected from 6.12.101 to 6.12.* (incl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc4 to * (incl.)

References