В ядре Linux устранена следующая уязвимость:
drm/amd/display: исправлен неверный размер массива mpc_combine.
[почему]
MAX_SURFACES — для каждого потока, а MAX_PLANES — для каждого asic.
mpc_combine — это массив, в котором записаны все плоскости по asic. Поэтому
В качестве размера массива следует использовать MAX_PLANES. Использование MAX_SURFACES приводит к
переполнение массива при наличии более 3 плоскостей.
[как]
Используйте MAX_PLANES для размера массива mpc_combine.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: fix incorrect mpc_combine array size [why] MAX_SURFACES is per stream, while MAX_PLANES is per asic. The mpc_combine is an array that records all the planes per asic. Therefore MAX_PLANES should be used as the array size. Using MAX_SURFACES causes array overflow when there are more than 3 planes. [how] Use the MAX_PLANES for the mpc_combine array size.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 3
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.7.6
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*
|
— | — |