drm/amd/display: set new_stream to NULL after release
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.148, 6.12.101, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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)
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f · fixed in 92b7c6e3a1546c6db868b07e93fa6fb950d1d3a0; From 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f · fixed in bf9c06c70f496f1ba4474caf95c69696c828340e; From 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f · fixed in 01ba5b36898d6258f584269537cc49e7b05cf7c6; From 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f · fixed in ba8bf1dcbb44773e7a0fd13b42925c644e0d5e76; From 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f · fixed in 5182e442e61397d446c36995b8f5676942d35b82; From 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f · fixed in 679f23f0a3606afcef1ffabd72222f00a54ad9e3; From 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f · fixed in 0676fecbb5242aa22c057e78326d6d6041db034c; From 9b690ef3c70422cdcd0cf912db33f2c92ef4a53f · fixed in 9fa26b9eed6195bf840f39ac183b9a6237548755
- Linux Linux
4.15
- KernelLinux
From 4.15.0 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.148; From 6.7.0 · fixed in 6.12.101; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.6
References 8
git.kernel.org
- stable/c/92b7c6e3a1546c6db868b07e93fa6fb950d1d3a0
- stable/c/bf9c06c70f496f1ba4474caf95c69696c828340e
- stable/c/01ba5b36898d6258f584269537cc49e7b05cf7c6
- stable/c/ba8bf1dcbb44773e7a0fd13b42925c644e0d5e76
- stable/c/5182e442e61397d446c36995b8f5676942d35b82
- stable/c/679f23f0a3606afcef1ffabd72222f00a54ad9e3
- stable/c/0676fecbb5242aa22c057e78326d6d6041db034c
- stable/c/9fa26b9eed6195bf840f39ac183b9a6237548755