Ad

CVE-2026-87040

HIGH CVSS 3.1: 8,3 EPSS 0.46%
Обновлено 10 ноября 2026
Payload
Параметр Значение
CVSS 8,3 (HIGH)
Тип уязвимости CWE-120 (Копирование в буфер без проверки размера), CWE-787 (Запись за пределами буфера)
Поставщик Payload
Публичный эксплойт Нет

The nRF link-layer receive paths of the open-source Bluetooth LE Controller did not validate the on-air LENGTH field of a received PDU against the maximum receive length that was used to program the radio. isr_rx_pdu() in subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c enqueued any non-empty data PDU after only the sequence-number and (for encrypted links) MIC checks, and the corresponding isr_rx() handlers in lll_central_iso.c, lll_peripheral_iso.c, lll_sync_iso.c and lll_scan_aux.c did the same for ISO and extended-advertising PDUs. Радио nRF дословно хранит полученный заголовок и укорачивает только полезную нагрузку на PCNF1.MAXLEN, поэтому кадр, объявляющий больше октетов, чем было настроено, оставляет буфер узла, поле len которого описывает больше данных, чем буфер удерживает. Злоумышленник в пределах радиодиапазона, который может излучать ручной линк-слой PDU — для соединения, любой узел, который устанавливает незашифрованное соединение LE с подключаемым рекламодателем; для CONFIG_BT_CTLR_SYNC_ISO, любой вещатель, с которым синхронизируется устройство — может установить длину байта до 255, в то время как контроллер запрограммировал гораздо меньший максимум (lll->dle.eff.max_rx_octets, который составляет 27 до Data Length Update, или согласованный cis_lll->rx.max_pdu)).

Не требуется ни спаривания, ни аутентификации, ни взаимодействия с пользователем. На зашифрованных ссылках проверка CCM MIC обычно сначала отклоняет такой кадр, поэтому экспозиция находится на незашифрованном трафике, поэтому добавленная проверка размещается после расшифровки. Непроверенная длина достигает hci_acl_encode() в subsys/bluetooth/controller/hci/hci.c, который выполняет net_buf_add(buf, pdu_data->len), за которым следует memcpy() из такого количества байтов из элемента пула node_rx.

Поскольку CONFIG_BT_CTLR_DATA_LENGTH_MAX и CONFIG_BT_BUF_ACL_RX_SIZE оба по умолчанию до 27, это out-of-bounds чтение примерно до 228 байтов мимо принятого PDU и соответствующий out-of-bounds запись мимо буфера HCI ACL в соседние буферы того же пула; тест хвостовой комнаты в net_buf_simple_add () применяется только тогда, когда CONFIG_NET_BUF_HARDENING (или CONFIG_ASSERT) включен. На путях ISO такая же непроверенная длина заставляет isoal_rx_append_to_sdu() читать мимо буфера узла ISO и излучать соседний контроллер RAM на хост как данные ISO. Практическим результатом является повреждение удаленной памяти и сбои контроллера, а также раскрытие памяти контроллера в пути данных хоста.

Исправление отклоняет любой принятый PDU, длина которого превышает значение, которое было использовано для настройки радиоприемника. Обратите внимание, что lll_sync.c (периодический прием синхронизации рекламы) не был изменен, и все еще очереди получали PDUs без эквивалентной границы.

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

The nRF link-layer receive paths of the open-source Bluetooth LE Controller did not validate the on-air LENGTH field of a received PDU against the maximum receive length that was used to program the radio. isr_rx_pdu() in subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c enqueued any non-empty data PDU after only the sequence-number and (for encrypted links) MIC checks, and the corresponding isr_rx() handlers in lll_central_iso.c, lll_peripheral_iso.c, lll_sync_iso.c and lll_scan_aux.c did the same for ISO and extended-advertising PDUs. The nRF radio stores the received header verbatim and truncates only the payload at PCNF1.MAXLEN, so a frame declaring more octets than were configured leaves a node buffer whose len field describes more data than the buffer holds. An attacker within radio range that can emit a hand-crafted link-layer PDU — for a connection, any peer that establishes an unencrypted LE connection to a connectable advertiser; for CONFIG_BT_CTLR_SYNC_ISO, any broadcaster the device is synchronised to — can set the length byte up to 255 while the controller has programmed a much smaller maximum (lll->dle.eff.max_rx_octets, which is 27 until a Data Length Update, or the negotiated cis_lll->rx.max_pdu). No pairing, authentication or user interaction is required. On encrypted links the CCM MIC check normally rejects such a frame first, so the exposure is on unencrypted traffic, which is why the added check is placed after decryption. The unchecked length reaches hci_acl_encode() in subsys/bluetooth/controller/hci/hci.c, which performs net_buf_add(buf, pdu_data->len) followed by a memcpy() of that many bytes out of the node_rx pool element. Because CONFIG_BT_CTLR_DATA_LENGTH_MAX and CONFIG_BT_BUF_ACL_RX_SIZE both default to 27, this is an out-of-bounds read of up to roughly 228 bytes past the received PDU and a corresponding out-of-bounds write past the HCI ACL buffer into neighbouring buffers of the same pool; the tailroom test in net_buf_simple_add() is only enforced when CONFIG_NET_BUF_HARDENING (or CONFIG_ASSERT) is enabled. On the ISO paths the same unchecked length makes isoal_rx_append_to_sdu() read past the ISO node buffer and emit adjacent controller RAM to the host as ISO data. The practical result is remote memory corruption and controller crashes, plus disclosure of controller memory into the host data path. The fix rejects any received PDU whose length exceeds the value that was used to configure the radio reception. Note that lll_sync.c (periodic advertising sync reception) was not changed and still enqueues received PDUs without an equivalent bound.

Характеристики атаки

Способ атаки
Смежная сеть
Нужен доступ к локальной сети
Сложность
Низкая
Легко эксплуатировать
Нужны права
Не требуются
Права не нужны
Участие пользователя
Не требуется
Не нужно действие пользователя

Последствия

Конфиденциальность
Низкое
Частичная утечка данных
Целостность
Высокое
Полная модификация данных
Доступность
Высокое
Полный отказ в обслуживании

Строка CVSS v3.1