Description
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)
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
9b690ef3c70422cdcd0cf912db33f2c92ef4a53f to < 92b7c6e3a1546c6db868b07e93fa6fb950d1d3a0affected9b690ef3c70422cdcd0cf912db33f2c92ef4a53f to < bf9c06c70f496f1ba4474caf95c69696c828340eaffected9b690ef3c70422cdcd0cf912db33f2c92ef4a53f to < 01ba5b36898d6258f584269537cc49e7b05cf7c6affected9b690ef3c70422cdcd0cf912db33f2c92ef4a53f to < ba8bf1dcbb44773e7a0fd13b42925c644e0d5e76affected9b690ef3c70422cdcd0cf912db33f2c92ef4a53f to < 5182e442e61397d446c36995b8f5676942d35b82affected9b690ef3c70422cdcd0cf912db33f2c92ef4a53f to < 679f23f0a3606afcef1ffabd72222f00a54ad9e3affected9b690ef3c70422cdcd0cf912db33f2c92ef4a53f to < 0676fecbb5242aa22c057e78326d6d6041db034caffected9b690ef3c70422cdcd0cf912db33f2c92ef4a53f to < 9fa26b9eed6195bf840f39ac183b9a6237548755affected
Linux Linux
Default version status: affected
4.15affected0 to < 4.15unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.148 to ≤ 6.6.*unaffected6.12.101 to ≤ 6.12.*unaffected6.18.42 to ≤ 6.18.*unaffected7.1.6 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/92b7c6e3a1546c6db868b07e93fa6fb950d1d3a0 ↗
- https://git.kernel.org/stable/c/bf9c06c70f496f1ba4474caf95c69696c828340e ↗
- https://git.kernel.org/stable/c/01ba5b36898d6258f584269537cc49e7b05cf7c6 ↗
- https://git.kernel.org/stable/c/ba8bf1dcbb44773e7a0fd13b42925c644e0d5e76 ↗
- https://git.kernel.org/stable/c/5182e442e61397d446c36995b8f5676942d35b82 ↗
- https://git.kernel.org/stable/c/679f23f0a3606afcef1ffabd72222f00a54ad9e3 ↗
- https://git.kernel.org/stable/c/0676fecbb5242aa22c057e78326d6d6041db034c ↗
- https://git.kernel.org/stable/c/9fa26b9eed6195bf840f39ac183b9a6237548755 ↗