7.8high
drm/amd/display: Increase block_sequence array size
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before de67e80ab48f1f23663831007a2fa3c1471a7757, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before e55c5704b12eeea27e212bfab8f7e51ad3e8ac1f, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before bf1666072e7482317cf2302621766482a21a62c7, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 3a7810c212bcf2f722671dadf4b23ff70a7d23ee, 4.15 Not affected: before 4.15, from 6.6.93 up to 6.6.*, from 6.12.31 up to 6.12.*, from 6.14.9 up to 6.14.*, from 6.15 up to * | CVE List |
| linux linux_kernel | from 4.15 before 6.6.93, from 6.7 before 6.12.31, from 6.13 before 6.14.9 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: Aumentar el tamaño de la matriz block_sequence [Por qué] Es posible generar más de 50 pasos en hwss_build_fast_sequence, por ejemplo, con un ASIC de 6 tuberías donde todas las tuberías están en una cadena MPC. Esto desborda el búfer block_sequence y corrompe block_sequence_steps, lo que provoca un fallo. [Cómo] Ampliar block_sequence a 100 elementos. Un límite superior simple para el número posible de pasos para un ASIC de 6 tuberías, ignorando la posibilidad de que los pasos sean mutuamente excluyentes, es 91 con el código actual; por lo tanto, 100 es suficiente.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38080 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-38080 changed 2026-07-30 | Public domain |