В ядре Linux была устранена следующая уязвимость: wifi: wfx: проверяет длину чтения MIB перед копированием в вызывающее устройство wfx_hif_read_mib() копирует reply->length байты из ответа прошивки в буфер, предоставляемый вызывающим лицом, без проверки того, что reply->length не превышает val_len. Ответ прошивки с полем длины больше, чем ожидалось, переполняет буфер вызывающего абонента и читается после конца выделения ответа. Замените мертвую проверку ENOMEM активной проверкой того, что reply->length соответствует val_len перед memcpy.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: wifi: wfx: validate MIB read length before copying to caller wfx_hif_read_mib() copies reply->length bytes from the firmware response into the caller-provided buffer without checking that reply->length does not exceed val_len. A firmware response with a length field larger than expected overruns the caller buffer and reads past the end of the reply allocation. Replace the dead -ENOMEM check with an active validation that reply->length fits within val_len before the memcpy.
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.5
|
6.6.160
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.5
|
6.12.113
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.5
|
6.18.56
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.5
|
7.2.10
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.5
|
7.3
|