CVE-2026-90834

UART wide-data syscall verifiers check the 8-bit driver op, allowing a user-mode thread to trigger a NULL function-pointer call in kernel mode

Published Nov 10, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
The user-mode syscall verifiers for the 16-bit ("wide data") UART API in drivers/serial/uart_handlers.c validated the wrong driver operation. z_vrfy_uart_poll_out_u16(), z_vrfy_uart_tx_u16() and z_vrfy_uart_rx_enable_u16() each ran K_SYSCALL_DRIVER_UART() against the 8-bit op (poll_out, tx, rx_enable) rather than the 16-bit op that the corresponding implementation dereferences (poll_out_u16, tx_u16, rx_enable_u16). z_impl_uart_poll_out_u16(), z_impl_uart_tx_u16() and z_impl_uart_rx_enable_u16() in include/zephyr/drivers/uart/uart_internal.h call their op unconditionally, with no NULL guard of their own, because the verifier is supposed to have established that the op exists.

CONFIG_UART_WIDE_DATA is an application-selectable option that no driver selects, and only a handful of the serial drivers in the tree implement any _u16 operation; every other driver leaves those struct uart_driver_api members NULL while still providing the 8-bit ops the old check inspected. In a build with CONFIG_USERSPACE and CONFIG_UART_WIDE_DATA (plus CONFIG_UART_ASYNC_API for the uart_tx_u16() and uart_rx_enable_u16() variants), an unprivileged user-mode thread that legitimately holds access to such a UART device object can invoke the _u16 syscall: the object, permission and op checks all pass, and the kernel-side implementation then performs an indirect call through a NULL function pointer while running at supervisor privilege.

The result is a CPU exception taken in kernel context instead of the intended K_OOPS or -ENOSYS return. With the default k_sys_fatal_error_handler() this halts the system (or warm-reboots it under CONFIG_RESET_ON_FATAL_ERROR), so a thread confined by the userspace sandbox can deny service to the whole device — a capability the user-mode privilege boundary is specifically meant to withhold. The call target is a fixed NULL, so there is no attacker-controlled code execution and no memory disclosure; the separate K_SYSCALL_MEMORY_ARRAY_READ()/K_SYSCALL_MEMORY_ARRAY_WRITE() bounds checks on the caller's buffer were and remain correct. The fix points each verifier at the matching _u16 op, using a plain K_SYSCALL_OBJ() object check where the op does not exist or where the implementation already tests it for NULL.

Analysis

AI-generated

Technical impact

The vulnerability arises from a mismatch between the syscall verifier and the UART driver operations in the Zephyr RTOS 16‑bit UART API. The verifier checks the 8‑bit operation instead of the 16‑bit implementation that the driver later dereferences. When an unprivileged user thread calls a wide‑data UART syscall, the kernel performs an indirect call through a NULL function pointer, causing an exception that results in a system halt or warm reboot. This bug does not allow arbitrary code execution or memory disclosure; it simply provides a method for a user process to break kernel stability and deny service to the entire system.

Affected Systems

The flaw is present in the Zephyr Project RTOS and affects any build that enables CONFIG_UART_WIDE_DATA together with CONFIG_USERSPACE and CONFIG_UART_ASYNC_API, and that contains UART drivers which expose the _u16 operations. The issue pertains to the UART driver API in drivers/serial/uart_handlers.c and include/zephyr/drivers/uart/uart_internal.h. Specific affected driver implementations are those that provide poll_out_u16, tx_u16, or rx_enable_u16; any driver that leaves these entries NULL while still enabling 8‑bit ops is vulnerable. The exact Zephyr release versions are not detailed in the advisory, so all versions with these configurations should be considered at risk until the patch is applied.

Risk and Exploitability

The CVSS score of 5.5 reflects a moderate severity with local impact. The EPSS score < 1% indicates a very low likelihood of real‑world exploitation, and the vulnerability is not listed in the CISA KEV catalog. An attacker would need to run a user‑mode task that has permission to access a UART device and invoke the wide‑data syscall; no network or elevated privileges are required. The kernel exception that follows a NULL function‑pointer dereference leads to a system halt or reboot, providing a denial‑of‑service vector rather than a code‑execution exploit.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to the latest Zephyr release or apply the official patch that aligns the verifier with the correct _u16 driver operation (commit 3c13bfd3d3...).
  • If the wide‑data UART feature is not needed, disable CONFIG_UART_WIDE_DATA and any async API configurations that expose the vulnerable paths.
  • Restrict user‑space permissions so that unprivileged threads cannot obtain access to UART device objects, or reconfigure the system to use drivers that provide the _u16 operations properly.

Generated by OpenCVE AI on November 14, 2026 at 01:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Zephyrproject
Zephyrproject zephyr
Vendors & Products Zephyrproject
Zephyrproject zephyr
Type Values Removed Values Added
Description The user-mode syscall verifiers for the 16-bit ("wide data") UART API in drivers/serial/uart_handlers.c validated the wrong driver operation. z_vrfy_uart_poll_out_u16(), z_vrfy_uart_tx_u16() and z_vrfy_uart_rx_enable_u16() each ran K_SYSCALL_DRIVER_UART() against the 8-bit op (poll_out, tx, rx_enable) rather than the 16-bit op that the corresponding implementation dereferences (poll_out_u16, tx_u16, rx_enable_u16). z_impl_uart_poll_out_u16(), z_impl_uart_tx_u16() and z_impl_uart_rx_enable_u16() in include/zephyr/drivers/uart/uart_internal.h call their op unconditionally, with no NULL guard of their own, because the verifier is supposed to have established that the op exists. CONFIG_UART_WIDE_DATA is an application-selectable option that no driver selects, and only a handful of the serial drivers in the tree implement any _u16 operation; every other driver leaves those struct uart_driver_api members NULL while still providing the 8-bit ops the old check inspected. In a build with CONFIG_USERSPACE and CONFIG_UART_WIDE_DATA (plus CONFIG_UART_ASYNC_API for the uart_tx_u16() and uart_rx_enable_u16() variants), an unprivileged user-mode thread that legitimately holds access to such a UART device object can invoke the _u16 syscall: the object, permission and op checks all pass, and the kernel-side implementation then performs an indirect call through a NULL function pointer while running at supervisor privilege. The result is a CPU exception taken in kernel context instead of the intended K_OOPS or -ENOSYS return. With the default k_sys_fatal_error_handler() this halts the system (or warm-reboots it under CONFIG_RESET_ON_FATAL_ERROR), so a thread confined by the userspace sandbox can deny service to the whole device — a capability the user-mode privilege boundary is specifically meant to withhold. The call target is a fixed NULL, so there is no attacker-controlled code execution and no memory disclosure; the separate K_SYSCALL_MEMORY_ARRAY_READ()/K_SYSCALL_MEMORY_ARRAY_WRITE() bounds checks on the caller's buffer were and remain correct. The fix points each verifier at the matching _u16 op, using a plain K_SYSCALL_OBJ() object check where the op does not exist or where the implementation already tests it for NULL.
Title UART wide-data syscall verifiers check the 8-bit driver op, allowing a user-mode thread to trigger a NULL function-pointer call in kernel mode
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
zephyr
Published
Updated
Nov 13, 2026, 1:34 PM
Reserved
Sep 13, 2026, 7:23 PM
Status
Awaiting Analysis
Published
Nov 10, 2026, 10:21 PM
Modified
Nov 13, 2026, 2:18 PM