{"id":"CVE-2026-10674","aliases":["CVE-2026-10674"],"related":[],"kind":"vulnerability","state":"published","title":"DoS (hard fault) in NXP LPUART driver: unsupported runtime UART config leaves clocks disabled","summary":"The NXP LPUART serial driver (drivers/serial/uart_mcux_lpuart.c), when CONFIG_UART_USE_RUNTIME_CONFIGURE is enabled, called LPUART_Deinit() at the start of mcux_lpuart_configure(), which disables the LPUART peripheral clocks. The requested configuration is validated only afterwards (in mcux_lpuart_configure_basic), and unsupported parity/data-bit/stop-bit/flow-control values return -ENOTSUP before the clock is re-enabled.\n\nAs a result, a uart_configure() request with an unsupported configuration left the LPUART in a clock-disabled state; any subsequent access to LPUART registers (poll_out/poll_in, interrupt handling, or a later reconfigure) faults on the gated peripheral and escalates to a hard fault, crashing the system.\n\nuart_configure() is a Zephyr syscall whose verifier (z_vrfy_uart_configure) only checks that cfg is readable user memory and forwards the caller-supplied configuration unchanged, so an unprivileged userspace thread with access to an LPUART device can deterministically trigger the fault, a persistent system-wide denial of service.\n\nIntroduced in v2.5.0 and present in all subsequent releases until this fix, which removes the LPUART_Deinit() call and instead only disables the transmitter/receiver, leaving the clock running.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The NXP LPUART serial driver (drivers/serial/uart_mcux_lpuart.c), when CONFIG_UART_USE_RUNTIME_CONFIGURE is enabled, called LPUART_Deinit() at the start of mcux_lpuart_configure(), which disables the LPUART peripheral clocks. The requested configuration is validated only afterwards (in mcux_lpuart_configure_basic), and unsupported parity/data-bit/stop-bit/flow-control values return -ENOTSUP before the clock is re-enabled.\n\nAs a result, a uart_configure() request with an unsupported configuration left the LPUART in a clock-disabled state; any subsequent access to LPUART registers (poll_out/poll_in, interrupt handling, or a later reconfigure) faults on the gated peripheral and escalates to a hard fault, crashing the system.\n\nuart_configure() is a Zephyr syscall whose verifier (z_vrfy_uart_configure) only checks that cfg is readable user memory and forwards the caller-supplied configuration unchanged, so an unprivileged userspace thread with access to an LPUART device can deterministically trigger the fault, a persistent system-wide denial of service.\n\nIntroduced in v2.5.0 and present in all subsequent releases until this fix, which removes the LPUART_Deinit() call and instead only disables the transmitter/receiver, leaving the clock running.","source":"cvelist"},{"lang":"es","text":"El controlador serie NXP LPUART (drivers/serial/uart_mcux_lpuart.c), cuando CONFIG_UART_USE_RUNTIME_CONFIGURE está habilitado, llamaba a LPUART_Deinit() al inicio de mcux_lpuart_configure(), lo que deshabilita los relojes periféricos LPUART. La configuración solicitada se valida solo después (en mcux_lpuart_configure_basic), y los valores no admitidos de paridad/bits de datos/bits de parada/control de flujo devuelven -ENOTSUP antes de que el reloj se vuelva a habilitar.\n\nComo resultado, una solicitud de uart_configure() con una configuración no admitida dejaba el LPUART en un estado con el reloj deshabilitado; cualquier acceso posterior a los registros LPUART (poll_out/poll_in, manejo de interrupciones o una reconfiguración posterior) falla en el periférico bloqueado y escala a un fallo grave, bloqueando el sistema.\n\nuart_configure() es una llamada al sistema (syscall) de Zephyr cuyo verificador (z_vrfy_uart_configure) solo verifica que cfg es memoria de usuario legible y reenvía la configuración proporcionada por el llamador sin cambios, por lo que un hilo de espacio de usuario sin privilegios con acceso a un dispositivo LPUART puede desencadenar la falla de forma determinista, una denegación de servicio persistente a nivel de todo el sistema.\n\nIntroducido en la v2.5.0 y presente en todas las versiones posteriores hasta esta corrección, que elimina la llamada a LPUART_Deinit() y en su lugar solo deshabilita el transmisor/receptor, dejando el reloj en funcionamiento.","source":"nvd"}],"published":"2026-07-21T21:30:53.643Z","modified":"2026-10-24T19:10:00.127Z","severity":{"scorer":"zephyr","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"zephyr","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-617"],"affected":[{"ranges":[{"type":"semver","introduced":"3.7.0","fixed":"4.3.1","status":"affected"},{"type":"semver","introduced":"4.4.0","fixed":"4.4.2","status":"affected"}],"vendor":"zephyrproject","product":"zephyr","package":"zephyr","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.5.0","lastAffected":"4.4.1"}],"vendor":"zephyrproject","product":"zephyr","cpe":"cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/commit/f56935c46fdf6559a20ad8484b29896ecac5808f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-mw68-r353-m3vf","tags":["patch","vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"zephyr","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-22T19:32:08.144Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-10674","url":"https://www.cve.org/CVERecord?id=CVE-2026-10674","licence":"CVE Terms of Use","modified":"2026-10-15T22:10:16.575Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-10674","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10674","licence":"Public domain","modified":"2026-10-24T19:10:00.127Z"}],"updatedAt":"2026-11-25T22:59:29.417Z","epss":{"score":0.00107,"percentile":0.01244,"date":"2026-12-01T12:00:22.000Z"}}