В ядре Linux устранена следующая уязвимость:
s390: избегайте использования глобального регистра для current_stack_pointer
Commit 30de14b1884b («s390: current_stack_pointer не должен быть
function") сделал current_stack_pointer глобальной регистровой переменной, например
на многих других архитектурах. К сожалению на s390 обнаруживает старое
ошибка gcc, которая исправлена только начиная с gcc-9.1 [gcc commit 3ad7fed1cc87
(«S/390: исправление PR89775. Инструкции по сохранению/восстановлению указателя стека удалены»)]
и перенесен на gcc-8.4 и более поздние версии.
Из-за этой ошибки предыдущие версии gcc
до 8.4 создают неработающий код, что приводит к повреждению стека. Объявлена текущая минимальная версия gcc, необходимая для сборки ядра.
как 5.1. Невозможно исправить все старые версии gcc, так что работайте
обойти эту проблему, избегая использования глобальной переменной регистра для
current_stack_pointer.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: s390: avoid using global register for current_stack_pointer Commit 30de14b1884b ("s390: current_stack_pointer shouldn't be a function") made current_stack_pointer a global register variable like on many other architectures. Unfortunately on s390 it uncovers old gcc bug which is fixed only since gcc-9.1 [gcc commit 3ad7fed1cc87 ("S/390: Fix PR89775. Stackpointer save/restore instructions removed")] and backported to gcc-8.4 and later. Due to this bug gcc versions prior to 8.4 generate broken code which leads to stack corruptions. Current minimal gcc version required to build the kernel is declared as 5.1. It is not possible to fix all old gcc versions, so work around this problem by avoiding using global register variable for current_stack_pointer.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 12
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.18.1
|
6.0.10
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.18:-:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.18:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.18:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.18:rc5:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.18:rc6:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.18:rc7:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:*
|
— | — |