drm/amd/display: don't WARN when removing an unallocated MST payload
- CVE-2026-142829
- GHSA-wghg-p2qj-c9hh
- EUVD-2026-142079
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: don't WARN when removing an unallocated MST payload [Why] On an MST teardown that runs through the reset path (dcn31_reset_hw_ctx_wrap -> link_set_dpms_off -> deallocate_mst_payload), fill_dc_mst_payload_table_from_drm() is asked to remove a payload whose vcpi is not present in link->mst_stream_alloc_table and trips: WARNING: .../amdgpu_dm_helpers.c:275 fill_dc_mst_payload_table_from_drm This is a legitimate case, not an error: deallocate_mst_payload() can be called for a stream whose MST payload was never programmed into DC's HW-maintained table (a new stream created for a modeset whose enable never completed, as already documented in deallocate_mst_payload()). There is simply nothing to remove. [How] Drop the ASSERT and fall through to the fill loop, which rebuilds the allocation table from the remaining entries. The table ends up unchanged, which is correct: the payload being removed was never in it. Note the loop must not early-return here - the caller passes a zeroed proposed_table, so returning early would zero the whole link's table and drop the other MST streams sharing the link. (cherry picked from commit 88a27f624dc0ebc14a7ab274a84d977ce8513cb6)
Text from the CVE.org record.
Recommendation
Linux
- If you run a version before 7.3.4update to 7.3.4 or later
- If you run a version before 6.18.63update to 6.18.63 or later
- If you run a version before 6.12.117update to 6.12.117 or later
- If you run a version before 6.6.163update to 6.6.163 or later
- If you run a version before 6.1.193update to 6.1.193 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in before 7.3.4 7.3.4 before 6.18.63 6.18.63 before 6.12.117 6.12.117 before 6.6.163 6.6.163 before 6.1.193 6.1.193 from 6.1.193 up to 6.1.*: not affected none stated from 6.6.163 up to 6.6.*: not affected none stated from 6.12.117 up to 6.12.*: not affected none stated and 3 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.