Skip to main content

Zephyr RTOS EUVDEUVD-2026-123039

| CVE-2026-90834 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-11-10 vulnerabilities@zephyrproject.org
5.5
CVSS 3.1 · Vendor: zephyrproject
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Hold granted UART object handle
  2. Delivery
    Invoke _u16 wide-data syscall
  3. Exploit
    Verifier passes on wrong op check
  4. Execution
    Kernel calls NULL function pointer
  5. Persist
    Fatal CPU exception in supervisor mode
  6. Impact
    System 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Zephyr 4.4.0 <4.5.0
Zephyr 3.0.0 <4.3.2

Affected Packages

euvd zephyr fix: 4.3.2, 4.5.0

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

Vendor (zephyrproject) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

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).

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (zephyrproject).

CVSS VectorVendor: zephyrproject

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Nov 10, 2026 - 23:05 EUVD

DescriptionCVE.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

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
Zephyr is a common embedded/IoT RTOS but not in most environments
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy