В ядре Linux устранена следующая уязвимость:
Remoteproc: mediatek: убедитесь, что буфер IPI помещается в L2TCM
Местоположение буфера IPI считывается из прошивки, которую мы загружаем в
System Companion Processor, и не допускается, чтобы оба SRAM
Размер (L2TCM), определенный в узле дерева устройств, достаточно велик.
для этого, и хотя это особенно верно для многоядерных SCP, это
все еще полезно проверить и одноядерные варианты.
Невыполнение этой проверки может привести к тому, что этот драйвер выполнит чтение/запись.
операции за пределами границы L2TCM, что приводит (в лучшем случае) к
паника ядра.
Чтобы это исправить, проверьте, подходит ли буфер IPI, в противном случае верните
сбой и отказ от загрузки соответствующего ядра SCP (или SCP в
все, если это одноядерный).
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: remoteproc: mediatek: Make sure IPI buffer fits in L2TCM The IPI buffer location is read from the firmware that we load to the System Companion Processor, and it's not granted that both the SRAM (L2TCM) size that is defined in the devicetree node is large enough for that, and while this is especially true for multi-core SCP, it's still useful to check on single-core variants as well. Failing to perform this check may make this driver perform R/W operations out of the L2TCM boundary, resulting (at best) in a kernel panic. To fix that, check that the IPI buffer fits, otherwise return a failure and refuse to boot the relevant SCP core (or the SCP at all, if this is single core).
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
<= 5.15.160
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
<= 6.1.92
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.2
|
<= 6.6.32
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
<= 6.8.11
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.9
|
<= 6.9.2
|