drm/amd/display: set new_stream to NULL after release
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel bf9c06c70f496f1ba4474caf95c69696c828340e, Kernel 01ba5b36898d6258f584269537cc49e7b05cf7c6, Kernel 0676fecbb5242aa22c057e78326d6d6041db034c and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=9b690ef3c70422cdcd0cf912db33f2c92ef4a53f <bf9c06c70f496f1ba4474caf95c69696c828340e, >=9b690ef3c70422cdcd0cf912db33f2c92ef4a53f <01ba5b36898d6258f584269537cc49e7b05cf7c6, >=9b690ef3c70422cdcd0cf912db33f2c92ef4a53f <0676fecbb5242aa22c057e78326d6d6041db034c, >=9b690ef3c70422cdcd0cf912db33f2c92ef4a53f <5182e442e61397d446c36995b8f5676942d35b82, >=9b690ef3c70422cdcd0cf912db33f2c92ef4a53f <679f23f0a3606afcef1ffabd72222f00a54ad9e3, >=9b690ef3c70422cdcd0cf912db33f2c92ef4a53f <92b7c6e3a1546c6db868b07e93fa6fb950d1d3a0, >=9b690ef3c70422cdcd0cf912db33f2c92ef4a53f <9fa26b9eed6195bf840f39ac183b9a6237548755, >=9b690ef3c70422cdcd0cf912db33f2c92ef4a53f <ba8bf1dcbb44773e7a0fd13b42925c644e0d5e76, =4.15 | bf9c06c70f496f1ba4474caf95c69696c828340e, 01ba5b36898d6258f584269537cc49e7b05cf7c6, 0676fecbb5242aa22c057e78326d6d6041db034c, 5182e442e61397d446c36995b8f5676942d35b82, 679f23f0a3606afcef1ffabd72222f00a54ad9e3, 92b7c6e3a1546c6db868b07e93fa6fb950d1d3a0, 9fa26b9eed6195bf840f39ac183b9a6237548755, ba8bf1dcbb44773e7a0fd13b42925c644e0d5e76 |
| linux-kernel: Kernel | >=5.11.0 <5.15.222, >=5.16.0 <6.1.189, >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.148, >=6.7.0 <6.12.101, >=4.15.0 <5.10.271 | 5.15.222, 6.1.189, 6.18.42, 7.1.6, 6.6.148, 6.12.101, 5.10.271 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket