Ad

CVE-2026-64407

NONE EPSS 0.17%
Обновлено 25 июля 2026
Linux
Параметр Значение
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux устранена следующая уязвимость: Bluetooth: btnxpuart: исправлено чтение прошивки за пределами диапазона в nxp_recv_fw_req_v3(). Во время загрузки прошивки v3 контроллер отправляет v3_data_req с Смещение 32 бита и длина 16 бит. nxp_recv_fw_req_v3() проверяет только нижний ограничение смещения, а затем отправляет прошивку с этого смещения. nxpdev->fw_dnld_v3_offset = смещение - nxpdev->fw_v3_offset_correction; serdev_device_write_buf(nxpdev->serdev, nxpdev->fw->data + nxpdev->fw_dnld_v3_offset, len); Ничто не проверяет, что fw_dnld_v3_offset + len находится в пределах размера nxpdev->fw->, поэтому контроллер, который запрашивает смещение или длину после образа прошивки заставляет драйвер прочитать конец nxpdev->fw->data и отправить это память обратно через UART. nxp_recv_fw_req_v1() уже ограничивает ту же запись. Добавьте эквивалент проверьте путь v3, отклоните запрос, когда он выходит за пределы прошивки image и нулевой len на пути ошибки, поэтому бухгалтерский учет fw_v3_prev_sent на free_skb остается неизменным.

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btnxpuart: Fix out-of-bounds firmware read in nxp_recv_fw_req_v3() During the v3 firmware download the controller sends a v3_data_req with a 32 bit offset and a 16 bit len. nxp_recv_fw_req_v3() checks only the lower bound of the offset and then sends firmware from that offset. nxpdev->fw_dnld_v3_offset = offset - nxpdev->fw_v3_offset_correction; serdev_device_write_buf(nxpdev->serdev, nxpdev->fw->data + nxpdev->fw_dnld_v3_offset, len); Nothing checks that fw_dnld_v3_offset + len stays within nxpdev->fw->size, so a controller that asks for an offset or length past the firmware image makes the driver read past the end of nxpdev->fw->data and send that memory back over UART. nxp_recv_fw_req_v1() already bounds the same write. Add the equivalent check to the v3 path, reject the request when it falls outside the firmware image, and zero len on the error path so the fw_v3_prev_sent bookkeeping at free_skb stays consistent.