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)
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < fa4dbb65d5fafa60566860e2475cc4a67c428380; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8f2d0b3610fb2e08333722cb489ecf1444f170a2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < df504bf02c92d3cdaee88aeac6d7c0eb0c0d6b15; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 87a531b56f2b8992e6082c2e57ec034548bd11d4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bbfdf51b12908be615287a7fab5bead8cade346a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b18a7c6d75bcc883b39497863cc88c9ef4c6c85f; < 6.1.193; < 6.6.163; < 6.12.117; < 6.18.63; < 7.3.4 |
| Linux | Linux | — |
References
- https://git.kernel.org/stable/c/87a531b56f2b8992e6082c2e57ec034548bd11d4
- https://git.kernel.org/stable/c/8f2d0b3610fb2e08333722cb489ecf1444f170a2
- https://git.kernel.org/stable/c/b18a7c6d75bcc883b39497863cc88c9ef4c6c85f
- https://git.kernel.org/stable/c/bbfdf51b12908be615287a7fab5bead8cade346a
- https://git.kernel.org/stable/c/df504bf02c92d3cdaee88aeac6d7c0eb0c0d6b15
- https://git.kernel.org/stable/c/fa4dbb65d5fafa60566860e2475cc4a67c428380
Timeline
- Published
- Dec 3, 2026
- Last modified
- Dec 3, 2026
- NVD status
- Received