В ядре Linux устранена следующая уязвимость:
of: Reserved_mem: предотвратить OOB, когда определено слишком много динамических регионов. При загрузке fdt_scan_reserved_mem() сохраняет все динамически размещенные
/reserved-memory подузел в локальный массив размером
MAX_RESERVED_REGIONS. Если дерево устройств определяет более MAX_RESERVED_REGIONS
динамически размещаемые регионы, fdt_scan_reserved_mem() записывает мимо
конец локального массива.
Добавьте проверку границ, которая регистрирует ошибку и пропускает лишние регионы. восстановление исходного поведения.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: of: reserved_mem: prevent OOB when too many dynamic regions are defined On boot, fdt_scan_reserved_mem() saves each dynamically-placed /reserved-memory subnode into a local array of size MAX_RESERVED_REGIONS. If the device tree defines more than MAX_RESERVED_REGIONS dynamically-placed regions, fdt_scan_reserved_mem() writes past the end of the local array. Add a bounds check that logs an error and skips the excess regions, restoring the original behavior.
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.12.13
|
6.12.103
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.18.44
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
7.1.8
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
7.2
|