CVE-2026-142829: drm/amd/display: don't WARN when removing an unallocated MST payload
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 (dcn31resethwctxwrap -> linksetdpmsoff -> deallocatemstpayload), filldcmstpayloadtablefromdrm() is asked to remove a payload whose vcpi is not present in link->mststreamalloctable and trips:
WARNING: .../amdgpudmhelpers.c:275 filldcmstpayloadtablefromdrm
This is a legitimate case, not an error: deallocatemstpayload() 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 deallocatemstpayload()). 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 proposedtable, so returning early would zero the whole link's table and drop the other MST streams sharing the link.
(cherry picked from commit 88a27f624dc0ebc14a7ab274a84d977ce8513cb6)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 88a27f624dc0ebc14a7ab274a84d977ce8513cb6
Event History
Frequently Asked Questions
Which systems are affected by this condition?
It occurs in the Linux kernel AMD display driver during DisplayPort MST teardown that follows the reset path. The affected case is a stream created for a modeset whose enable did not complete, so its MST payload was never programmed into the hardware-maintained allocation table.
Does the warning indicate that the MST allocation table is corrupted?
No. Removing an unallocated payload is described as a legitimate case because there is nothing to remove. The corrected behavior rebuilds the table from remaining entries and leaves it unchanged, preserving other MST streams sharing the link.