Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · net nu 165 bronnen 1 kritiek 29 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-10642

MEDIUM · 6.5 CVSS Gepubliceerd: CWE-835

Beschrijving NL

Het Zephyr PL011 UART-stuurprogramma (drivers/serial/uart_pl011.c) bevat een onbegrensde softwarelus in pl011_irq_tx_enable() die herhaaldelijk de onderbrekingsgestuurde applicatie-callback aanroept terwijl het TX-onderbrekingsmaskerbit (PL011_IMSC_TXIM) is ingesteld, om het niveauovergang TX-onderbrekingsgedrag van de controller te omzeilen. Wanneer de CTS-hardwarestroomregeling is ingeschakeld (devicetree hw-flow-control of runtime UART_CFG_FLOW_CTRL_RTS_CTS) en de bekabelde seriële peer-de-asserts CTS, stopt de controller met het aftappen van de TX FIFO; pl011_FIFo_Fill() geeft dan 0 terug bij elke oproep terwijl de applicatie nog steeds gegevens in behandeling heeft en schakelt daarom nooit de TX-interrupt uit. De lusvoorwaarde verdwijnt nooit, dus de draad die uart_irq_tx_enable() noemde (bijv. h4_send() in de Bluetooth HCI H4 driver) draait voor onbepaalde tijd, waarbij de uitvoerende context wordt opgehangen en het transport wordt vertraagd — een denial of service (CWE-835). Een aanvaller die het apparaat bestuurt dat is aangesloten op de CTS-lijn van de UART, kan de blokkering activeren door CTS achter te houden tijdens verzending. Impact is alleen beschikbaarheid; er is geen consequentie voor geheugenveiligheid, vertrouwelijkheid of integriteit. De kwetsbare lus werd geïntroduceerd in commit b783bc8448ef (feb 2025) en verzonden in releases v4.1.0 tot en met v4.4.0. De fix breekt uit de lus wanneer CTS blokkeert en schakelt de CTS-modem-statusonderbreking in om de transmissie te hervatten wanneer CTS opnieuw bevestigt.

Origineel (Engels) tonen

The Zephyr PL011 UART driver (drivers/serial/uart_pl011.c) contains an unbounded software loop in pl011_irq_tx_enable() that repeatedly invokes the interrupt-driven application callback while the TX interrupt mask bit (PL011_IMSC_TXIM) is set, to work around the controller's level-transition TX-interrupt behavior.

When CTS hardware flow control is enabled (devicetree hw-flow-control or runtime UART_CFG_FLOW_CTRL_RTS_CTS) and the wired serial peer de-asserts CTS, the controller stops draining the TX FIFO; pl011_fifo_fill() then returns 0 on every call while the application still has pending data and therefore never disables the TX interrupt. The loop condition never clears, so the thread that called uart_irq_tx_enable() (e.g. h4_send() in the Bluetooth HCI H4 driver) spins indefinitely, hanging the executing context and stalling the transport — a denial of service (CWE-835).

An attacker controlling the device attached to the UART's CTS line can trigger the hang by withholding CTS during transmission. Because that peer is the device wired to the UART — which may be a removable or external module (e.g. an off-board Bluetooth controller on the HCI H4 link) rather than a permanently-bonded on-PCB part — the attack vector is scored Adjacent (AV:A) rather than Physical; the security subcommittee should confirm the vector against the specific deployment. Impact is availability only; there is no memory-safety, confidentiality, or integrity consequence.

The vulnerable loop was introduced in commit b783bc8448ef (Feb 2025) and shipped in releases v4.1.0 through v4.4.0. The fix breaks out of the loop when CTS is blocking and arms the CTS modem-status interrupt to resume transmission when CTS re-asserts.

Vendors

Zephyrproject

Affected products

Zephyr

References