🔍 CVE-2026-10642

4.6
CVSS Score
MEDIUM
2026-06-24
2026-10-25 23:10
✅ 완료

🇰🇷 한글 설명

Zephyr PL011 UART 드라이버의 pl011_irq_tx_enable() 함수에서 무한 루프가 발생하는 취약점입니다. CTS 하드웨어 흐름 제어가 활성화된 상태에서 상대 장치가 CTS 신호를 해제하면, TX 인터럽트가 비활성화되지 않아 실행 중인 스레드가 무한 루프에 빠지며 서비스 거부(DoS) 상태가 됩니다.

💡 쉬운 설명

통신 장치 간의 신호 주고받기 과정에서 상대방이 특정 신호를 보내지 않으면, 컴퓨터의 통신 프로그램이 무한히 반복 작업을 수행하며 멈춰버리는 문제입니다. 이로 인해 장치가 응답하지 않는 먹통 상태가 될 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Zephyr RTOS v4.1.0 ~ v4.4.0 (commit b783bc8448ef 이후 버전)

⚔️ 공격 벡터

UART의 CTS 라인에 연결된 외부 장치를 제어하여 전송 중 CTS 신호를 차단함으로써 발생 (Adjacent)

🛡️ 대응 방법

CTS가 차단된 경우 루프를 탈출하고 CTS 모뎀 상태 인터럽트를 사용하도록 수정된 최신 버전으로 업데이트

🔧 검증 코드

현재 사용 중인 Zephyr RTOS의 버전이 취약한 범위인 v4.1.0에서 v4.4.0 사이인지 확인합니다.

Shell / Script
grep -E 'Zephyr|v4\.[1-4]\.' /path/to/your/project/build/zephyr.conf 2>/dev/null || echo 'Check Zephyr version manually'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Windows Bluetooth Service