Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHold granted UART object handle
-
DeliveryInvoke _u16 wide-data syscall
-
ExploitVerifier passes on wrong op check
-
ExecutionKernel calls NULL function pointer
-
PersistFatal CPU exception in supervisor mode
-
ImpactSystem halt or warm reboot
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a build with CONFIG_USERSPACE and CONFIG_UART_WIDE_DATA enabled (and additionally CONFIG_UART_ASYNC_API to reach the uart_tx_u16()/uart_rx_enable_u16() variants); CONFIG_UART_WIDE_DATA is application-selectable and no in-tree driver selects it, making this a deliberately non-default configuration. The attacking thread must already hold legitimately granted access to a UART device object whose driver leaves the _u16 struct uart_driver_api members NULL - true for roughly 109 of ~112 serial drivers (only uart_stm32 and uart_bitbang among the examples provide _u16 ops). Exploitation is purely local via a syscall (AV:L) and needs the low privilege of a sandboxed user-mode thread with that object permission (PR:L); it does not need network access, user interaction, or any crafted buffer. Limiting factors: the narrow build config, the per-object permission requirement, and that only drivers lacking _u16 support are affected. |
| Impact | This is a genuine but narrowly-scoped availability issue, not a high-urgency emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5 Medium) is internally consistent with the mechanism: a local user-mode thread that already legitimately holds a handle to a UART device object invokes a _u16 syscall whose verifier checked the wrong driver op, causing a NULL function-pointer indirect call at supervisor privilege and a kernel fault that halts or warm-reboots the device. Impact is strictly availability (C:N/I:N/A:H) - the advisory explicitly rules out attacker-controlled code execution and memory disclosure because the call target is a fixed NULL, so the 'RCE' input tag overstates the impact and should be disregarded. No EPSS score, no CISA KEV entry, and no public exploit were supplied; the only exploitation signal is the vendor Decision label 'this_month', which aligns with a patch-this-cycle posture rather than act_now/emergency. The practical risk is further bounded by build-time preconditions that are non-default (CONFIG_USERSPACE + CONFIG_UART_WIDE_DATA, which no in-tree driver selects), so real-world exposure is limited to the subset of userspace Zephyr builds that deliberately enable wide-data UART on drivers lacking _u16 ops. |
| Exploit ScenarioDerived | On a Zephyr device built with CONFIG_USERSPACE and CONFIG_UART_WIDE_DATA, a sandboxed unprivileged application thread that has been granted access to a UART whose driver implements only the 8-bit ops calls uart_poll_out_u16() (or uart_tx_u16()/uart_rx_enable_u16() when CONFIG_UART_ASYNC_API is set). The syscall's object, permission and op checks all pass because the verifier inspected the 8-bit op, and the kernel then dereferences the NULL _u16 function pointer, taking a fatal CPU exception that halts or warm-reboots the whole system. No public exploit identified at time of analysis; the trigger is a single legitimate syscall requiring no crafted memory, as the buffer bounds checks remain correct. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
Unprivileged user-mode threads on Zephyr RTOS builds that enable CONFIG_USERSPACE together with CONFIG_UART_WIDE_DATA (and CONFIG_UART_ASYNC_API for two of the three variants) can crash the entire device by invoking the 16-bit UART syscalls on a device whose driver does not implement the corresponding _u16 operation. The syscall verifiers for uart_poll_out_u16(), uart_tx_u16() and uart_rx_enable_u16() check the 8-bit driver op instead of the _u16 op, so the object, permission and op checks all pass and the kernel-mode implementation then performs an indirect call through a NULL function pointer, producing a fatal CPU exception in supervisor context rather than a K_OOPS or -ENOSYS return. Impact is availability-only (CWE-476): the call target is a fixed NULL, so there is no attacker-controlled code execution and no memory disclosure; exploitation is local, requires a thread that already legitimately holds access to the affected UART device object, and depends on a deliberately non-default configuration that no in-tree driver selects. No public exploit has been identified at time of analysis; vendor fixes are released in Zephyr 4.3.2 and 4.5.0, and this is assessed as a genuine but narrowly-scoped availability issue rather than a high-urgency emergency.
RemediationAI
Upgrade to Zephyr 4.3.2 or 4.5.0, which contain the fix; the merged backports cover main (PR #117941, commit 3c13bfd3d3cc), v4.4-branch (PR #119388), v4.3-branch (PR #119389) and v3.7-branch (PR #119387), so downstream users on those release lines should take the corresponding patched point release rather than relying on the pre-fix branch state. If an immediate upgrade is not possible, the most direct compensating control is to build without CONFIG_UART_WIDE_DATA - the option is application-selectable, no in-tree driver selects it, and disabling it removes the three affected _u16 syscalls entirely; the trade-off is that any application actually using the 16-bit UART API loses that functionality. As a secondary measure, audit which threads hold K_OBJ_DRIVER_UART access to UART device objects and restrict that grant to trusted threads only, since the fault requires a thread that already has legitimate permission on the device object - this narrows the attack surface but does not remove the bug for the threads that legitimately need access. Removing CONFIG_UART_ASYNC_API also eliminates the uart_tx_u16() and uart_rx_enable_u16() variants, but leaves the uart_poll_out_u16() path reachable. Vendor details are in the advisory at https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-xvwx-ww79-r346.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Zephyr's user-mode syscall layer splits each driver call into a verifier (z_vrfy_*) that runs on the caller-supplied arguments and a supervisor-side implementation (z_impl_*). The generated guard K_SYSCALL_DRIVER_UART(dev, op) expands to K_SYSCALL_OBJ(dev, K_OBJ_DRIVER_UART) - the type, permission and initialisation check - followed by K_SYSCALL_DRIVER_OP(dev, op), which is the only check that the named member of struct uart_driver_api is non-NULL. Because the verifiers named the 8-bit members (poll_out, tx, rx_enable) rather than the 16-bit members the implementations actually dereference (poll_out_u16, tx_u16, rx_enable_u16), the NULL guard was applied to the wrong pointer. The _u16 members of struct uart_driver_api exist only under CONFIG_UART_WIDE_DATA and are left NULL by the designated-initialiser API structs of drivers without wide-data support; CONFIG_UART_WIDE_DATA is an application-selectable Kconfig option that no driver selects and that explicitly leaves implementation 'up to the driver', so enabling it does not imply the ops exist - only about 3 of roughly 112 in-tree serial drivers (for example uart_stm32 and uart_bitbang) provide any _u16 operation. 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 the op unconditionally with no NULL guard of their own, relying entirely on the verifier. The resulting fault lands in kernel mode and, under the default k_sys_fatal_error_handler(), halts the system or warm-reboots it when CONFIG_RESET_ON_FATAL_ERROR is set, which converts what should be a sandbox-contained error into whole-device denial of service. The separate K_SYSCALL_MEMORY_ARRAY_READ() and 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 and falls back to a plain K_SYSCALL_OBJ() object check where the op does not exist or where the implementation already tests it for NULL.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Local syscall from a sandboxed thread holding a granted UART handle (AV:L/PR:L), deterministic NULL call (AC:L), whole-system halt with no data impact (A:H, C:N/I:N).
Primary rating from Vendor (zephyrproject).
CVSS VectorVendor: zephyrproject
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-123039
NVD
CVE.org
EPSS
GitHub
Exploit-DB