Linux
drm/amd/display: Fix out-of-bounds read in dp_get_eq_aux_rd_interval()
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix out-of-bounds read in dp_get_eq_aux_rd_interval() [Why & How] The aux_rd_interval array in struct dc_lttpr_caps is declared with MAX_REPEATER_CNT - 1 (7) elements, indexed 0..6. However, the offset parameter passed to dp_get_eq_aux_rd_interval() can be as large as MAX_REPEATER_CNT (8) when a sink reports 8 LTTPR repeaters via DPCD. This leads to an out-of-bounds read of aux_rd_interval[7] when offset is 8. Fix this by growing aux_rd_interval to MAX_REPEATER_CNT elements to accommodate the full range of valid repeater counts defined by the DP spec. (cherry picked from commit a55a458a8df37a65ffda5cf721d554a8f74f6b04)
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8e5100a575433cc185a2e224280fbd873b6692dd, < 2c8ad3edafef81e033b6e99046ceb70802b69f59
- >= 8e5100a575433cc185a2e224280fbd873b6692dd, < a276dfedf85dcb4996068124185458c2e4693a1e
- >= 8e5100a575433cc185a2e224280fbd873b6692dd, < 7b310c6d82d782282085c9728dfe69e07d185b6c
- >= 8e5100a575433cc185a2e224280fbd873b6692dd, < a632474c793b7f2a9bbd3d8e3d0dd7d256989300
- >= 8e5100a575433cc185a2e224280fbd873b6692dd, < 7c5f2d16a8f4464bf2a719ceb2316b8a6b87a3c0
- >= 8e5100a575433cc185a2e224280fbd873b6692dd, < 454d3b3d499c18373f8960d31aea48338a3ca9e0
- >= 8e5100a575433cc185a2e224280fbd873b6692dd, < dc1490927d79fe9621e29f4a4f5d7b5ccb6aea3e
- >= 8e5100a575433cc185a2e224280fbd873b6692dd, < e8b4d37eba05141ee01794fc6b7f2da808cee83b
Fixed in 2c8ad3edafef81e033b6e99046ceb70802b69f59, a276dfedf85dcb4996068124185458c2e4693a1e, 7b310c6d82d782282085c9728dfe69e07d185b6c, a632474c793b7f2a9bbd3d8e3d0dd7d256989300, 7c5f2d16a8f4464bf2a719ceb2316b8a6b87a3c0, 454d3b3d499c18373f8960d31aea48338a3ca9e0, dc1490927d79fe9621e29f4a4f5d7b5ccb6aea3e, e8b4d37eba05141ee01794fc6b7f2da808cee83b
- 5.6
Fixed in 0, 5.10.275, 5.15.226, 6.1.191, 6.6.160, 6.12.114, 6.18.36, 7.0.13, 7.1
Mitigation
Upgrade Linux to 2c8ad3edafef81e033b6e99046ceb70802b69f59 or a276dfedf85dcb4996068124185458c2e4693a1e or 7b310c6d82d782282085c9728dfe69e07d185b6c or a632474c793b7f2a9bbd3d8e3d0dd7d256989300 or 7c5f2d16a8f4464bf2a719ceb2316b8a6b87a3c0 or 454d3b3d499c18373f8960d31aea48338a3ca9e0 or dc1490927d79fe9621e29f4a4f5d7b5ccb6aea3e or e8b4d37eba05141ee01794fc6b7f2da808cee83b or later.
Upgrade Linux to 0 or 5.10.275 or 5.15.226 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.36 or 7.0.13 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.