В ядре Linux устранена следующая уязвимость: riscv: uprobes: добавьте отсутствующий файл Fence.i после создания буфера XOL. Буфер XOL (внеочередное выполнение) используется для пошагового выполнения заменена инструкция(и) для пробников. В порту RISC-V отсутствовал правильный забор.i (промывка i$) после создания буфера XOL, который может привести к некорректному выполнению устаревших/неработающих инструкций.
Это было обнаружено при выполнении самотестирования BPF «test_progs:
uprobe_autoattach, Attach_probe" на Spacemit K1/X60, где
тесты uprobes случайно взорвались.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: riscv: uprobes: Add missing fence.i after building the XOL buffer The XOL (execute out-of-line) buffer is used to single-step the replaced instruction(s) for uprobes. The RISC-V port was missing a proper fence.i (i$ flushing) after constructing the XOL buffer, which can result in incorrect execution of stale/broken instructions. This was found running the BPF selftests "test_progs: uprobe_autoattach, attach_probe" on the Spacemit K1/X60, where the uprobes tests randomly blew up.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.12
|
6.12.26
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.14.5
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
|
— | — |