VULNERABILIDAD
CVE-2026-78117 Condición de carrera en el descriptor HCI TX compartido del driver Infineon PSOC 6 BLESS de Bluetooth
El driver almacenaba el descriptor del paquete HCI saliente en una variable de alcance de archivo y lo llenaba antes de tomar el semáforo que serializa el envío, por lo que el host podía enviar desde varios hilos. Una condición de carrera puede filtrar memoria adyacente por el aire.
Alerta de Nureq Monitor
Detectada 21 OCT · 16:26
CVSS 3.1
4.2MEDIAPROBABILIDAD DE EXPLOTACIÓN (EPSS)
0,1 % PERCENTIL 2
EXPLOTACIÓN ACTIVA
No confirmada
EXPLOIT PÚBLICO
No conocido
Qué es CVE-2026-78117
El driver almacenaba el descriptor del paquete HCI saliente en una variable de alcance de archivo y lo llenaba antes de tomar el semáforo que serializa el envío, por lo que el host podía enviar desde varios hilos. Una condición de carrera puede filtrar memoria adyacente por el aire.
Productos y versiones afectadas
zephyrproject zephyr
Qué hacer
- Verificá si usás zephyr y en qué versión: el rango afectado figura arriba.
- Actualizá a la versión corregida que indique el fabricante en su aviso (ver referencias) o aplicá la mitigación que publique.
- Revisá registros y accesos de los sistemas expuestos para descartar que se haya aprovechado antes de corregir.
Calculadora CVSS
CVSS 3.1 · 4.2 MEDIA
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
- VECTOR DE ATAQUE (AV)
- Red adyacente
- COMPLEJIDAD DEL ATAQUE (AC)
- Alta
- PRIVILEGIOS REQUERIDOS (PR)
- Ninguno
- INTERACCIÓN DEL USUARIO (UI)
- Ninguna
- ALCANCE (S)
- Sin cambio
- CONFIDENCIALIDAD (C)
- Baja
- INTEGRIDAD (I)
- Ninguna
- DISPONIBILIDAD (A)
- Baja
Abrir la calculadora completa →
Descripción original
The Infineon PSOC 6 BLESS HCI driver in drivers/bluetooth/hci/hci_infineon_psoc6_bless.c stored the outgoing HCI packet descriptor in a file-scope variable, static cy_stc_ble_hci_tx_packet_info_t hci_tx_pkt. psoc6_bless_send() cleared and populated that descriptor's packetType, dataLength and data fields before acquiring psoc6_bless_operation_sem, so the driver's serialising semaphore protected only the call into Cy_BLE_SoftHciSendAppPkt() and not the shared state that call reads.
The Bluetooth host does not guarantee a single HCI sender. Most transmissions are funnelled through the cooperative TX-processor work queue, but bt_hci_cmd_send() deliberately bypasses bt_dev.cmd_tx_queue for BT_HCI_OP_HOST_NUM_COMPLETED_PACKETS and calls bt_send() directly from the caller's thread; that caller is bt_hci_host_num_completed_packets(), the acl_in_pool destroy callback, which runs on whichever thread drops the last reference to a received ACL buffer. CONFIG_BT_HCI_ACL_FLOW_CONTROL defaults to y on this driver's boards, and an application that returns -EINPROGRESS from its L2CAP recv callback and later calls bt_l2cap_chan_recv_complete() performs that unref from its own preemptible thread. A remote peer that generates Bluetooth traffic concurrently with the device's own transmissions raises the collision rate.
When two senders interleave, the semaphore holder can hand the controller a descriptor whose dataLength comes from one net_buf and whose data pointer comes from another — or one whose buffer has already been returned to its pool. The controller then copies and transmits up to a full HCI/ACL payload starting at a shorter or recycled buffer, disclosing adjacent RAM contents to the connected peer; other interleavings duplicate one HCI packet and silently drop another, disrupting the link. The driver only reads through the shared descriptor, so no memory corruption or write primitive results, and the disclosed bytes are not attacker-chosen. The fix makes the descriptor a local variable in psoc6_bless_send(), removing the shared state; Cy_BLE_SoftHciSendAppPkt() copies the packet before returning, so it need not outlive the call.
Referencias
- github.com/zephyrproject-rtos/zephyr/commit/7d0efa35134141bb1b1527f9078d2bc19e67168ePATCH
- github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7v9c-hmjh-hxqw
Historial de la alerta
- VULNERABILIDAD Nueva vulnerabilidad detectada.
CÓMO SE HIZOResumen traducido automáticamente al español a partir de la descripción original. Ante dudas, la descripción original y las referencias del fabricante son la fuente de verdad. Cómo funciona.