Linux
drm/amd/display: Increase block_sequence array size
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Increase block_sequence array size [Why] It's possible to generate more than 50 steps in hwss_build_fast_sequence, for example with a 6-pipe asic where all pipes are in one MPC chain. This overflows the block_sequence buffer and corrupts block_sequence_steps, causing a crash. [How] Expand block_sequence to 100 items. A naive upper bound on the possible number of steps for a 6-pipe asic, ignoring the potential for steps to be mutually exclusive, is 91 with current code, therefore 100 is sufficient.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < de67e80ab48f1f23663831007a2fa3c1471a7757
- >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < e55c5704b12eeea27e212bfab8f7e51ad3e8ac1f
- >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < bf1666072e7482317cf2302621766482a21a62c7
- >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 3a7810c212bcf2f722671dadf4b23ff70a7d23ee
Fixed in de67e80ab48f1f23663831007a2fa3c1471a7757, e55c5704b12eeea27e212bfab8f7e51ad3e8ac1f, bf1666072e7482317cf2302621766482a21a62c7, 3a7810c212bcf2f722671dadf4b23ff70a7d23ee
- 4.15
Fixed in 0, 6.6.93, 6.12.31, 6.14.9, 6.15
Mitigation
Upgrade Linux to de67e80ab48f1f23663831007a2fa3c1471a7757 or e55c5704b12eeea27e212bfab8f7e51ad3e8ac1f or bf1666072e7482317cf2302621766482a21a62c7 or 3a7810c212bcf2f722671dadf4b23ff70a7d23ee or later.
Upgrade Linux to 0 or 6.6.93 or 6.12.31 or 6.14.9 or 6.15 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.