Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Operating systems

CVE-2026-90586 — zephyrproject zephyr

High · CVSS 7.8EPSS 0.2% First seen November 09, 2026

One of 7 zephyrproject zephyr vulnerabilities published together by NVD: our article covers all of them.

Operating systemsIoTVulnerabilities

Analysis

Zephyr Xtensa MMU flaw CVE-2026-90586 lets user threads trigger out-of-bounds kernel memory access

CVE-2026-90586 is a HIGH severity (CVSS 7.8) flaw in the Xtensa MMU userspace port of the Zephyr kernel, where an uninitialized per-thread page-table pointer can be reached from an unprivileged user-mode thread. The sources do not yet publish affected version ranges, a fix, or exploitation status.

Key points

  • The Xtensa MMU userspace port of Zephyr does not initialize a per-thread page-table pointer during thread setup.
  • A stale value in that field can lead the kernel to use invalid memory as a page table.
  • NVD rates the flaw HIGH at CVSS 7.8, and the trigger is reachable from unprivileged user-mode threads.
  • Reported effects range from kernel panics to out-of-bounds supervisor-mode memory access and sandbox escape.
  • Affected versions, a fix, and exploitation status have not been published in the sources.

What's affected

The flaw is in the Xtensa MMU userspace port of the Zephyr kernel. According to the NVD record, the per-thread page-table pointer, thread->arch.ptables, is not initialized during thread setup. The reported conditions are builds with CONFIG_XTENSA_MMU, CONFIG_USERSPACE and dynamically allocated kernel objects enabled. The sources do not list affected version ranges, and no fixed release has been published in the material available.

The defect

The function arch_mem_domain_thread_add() treats a non-NULL value in that field as a sign that a thread is moving from another memory domain. If the memory backing a thread object is not zeroed, the field can hold leftover data, and the kernel takes a migration path that uses that value as the base of a level-1 page table. The x86 port explicitly clears the same field for this reason. The Xtensa port does not, according to the NVD description.

How serious is it

NVD rates the issue HIGH at CVSS 7.8. The source describes outcomes ranging from an immediate kernel panic, observed as Xtensa EXCAUSE 13 on Intel ADSP DSP firmware running user threads, to out-of-bounds reads and writes in supervisor mode. Those writes could corrupt kernel memory and allow escape from the user-mode sandbox. The source states that the trigger is reachable from an unprivileged user-mode thread, and that the stale data can be influenced by user-mode activity, which raises the risk beyond a simple crash.

Exploitation status

The sources do not state whether this vulnerability is being exploited in the wild, and they do not mention public proof-of-concept code. Treat that as unknown rather than as absent.

What to do

Inventory any Zephyr deployments on Xtensa targets, including Intel ADSP firmware, and identify which use the MMU, userspace and dynamically allocated kernel objects. Watch Zephyr security advisories for an official fix and affected version list, and apply the patched release once it is available. Until then, review whether user threads are required in affected builds. For detection, treat unexplained kernel panics with Xtensa EXCAUSE 13 on user-thread workloads as a possible indicator and investigate them.

Recommended actions

  1. Identify Zephyr deployments on Xtensa targets with CONFIG_XTENSA_MMU and CONFIG_USERSPACE enabled, including Intel ADSP firmware.
  2. Monitor Zephyr security advisories and apply the official fix as soon as it is released, since affected versions are not yet listed in the sources.
  3. Until patched, review whether user-mode threads are necessary in affected builds and limit them where possible.
  4. Investigate unexplained kernel panics, especially Xtensa EXCAUSE 13 events on devices running user threads.

Written with AI assistance from the sources listed on this page; check the vendor advisory before acting.

Summary

The Xtensa MMU userspace port never initialized the per-thread page-table pointer thread->arch.ptables during thread setup, while arch_mem_domain_thread_add() in arch/xtensa/core/ptables.c uses a non-NULL value of that field as its "this thread is migrating from another memory domain" predicate. For a thread whose struct k_thread backing memory is not zeroed, the field holds stale data and the kernel takes the migration branch, passing that stale value to reset_region() as the base of a level-1 page table. The equivalent field on x86 is explicitly cleared in z_x86_userspace_prepare_thread() for exactly this reason; the Xtensa port adopted the predicate without the initialization. The condition is reachable from an unprivileged user-mode thread on a build with CONFIG_XTENSA_MMU, CONFIG_USERSPACE and dynamically allocated kernel objects. k_object_alloc(K_OBJ_THREAD) is a system call and allocates the thread object from the caller's resource pool without zeroing it, and the k_thread_create() verifier accepts such an object while forcing the K_USER option, so the migration branch is taken whenever the recycled heap bytes at that offset are non-zero. Because a user thread can also allocate, fill and free other kernel objects from the same heap, the stale bytes are groomable rather than merely random. Walking the bogus table in region_map_update() performs an unguarded index into l2_page_tables_counter[], may copy from and write through the attacker-influenceable level-1 base in dup_l2_table_if_needed(), and finally writes a page-table entry through a second pointer read out of that memory — once per page of the new thread's stack. The result is out-of-bounds reads and writes executed in supervisor mode, ranging from an immediate kernel panic (observed as Xtensa EXCAUSE 13 on Intel ADSP DSP firmware with user threads) to corruption of kernel memory and escape from the user-mode sandbox.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.8 CVSS 3.1 base score from the CNA (zephyrproject.org)

An attacker with a normal user account can exploit this with local access, without any user action.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
low (no special conditions)
Login needed
yes, a normal user account
User action needed
no
Scope
stays within the vulnerable component
Impact
high on confidentiality, integrity and availability

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

Weakness

  • CWE-824: Access of Uninitialized Pointer

Affected and fixed versions

ProductAffected versionsFixed in
zephyrproject zephyr≥ 3.6.0, < 4.3.24.3.2
≥ 4.4.0, < 4.5.04.5.0

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

Affected

  • zephyrproject zephyr

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-90586?

CVE-2026-90586 is a HIGH severity (CVSS 7.8) flaw in the Xtensa MMU userspace port of the Zephyr kernel, where an uninitialized per-thread page-table pointer can be reached from an unprivileged user-mode thread. The sources do not yet publish affected version ranges, a fix, or exploitation status. Weakness type: Access of Uninitialized Pointer (CWE-824).

How severe is CVE-2026-90586?

CVE-2026-90586 has a CVSS 3.1 base score of 7.8 (high), from the CNA (zephyrproject.org). An attacker with a normal user account can exploit this with local access, without any user action.

Is CVE-2026-90586 being exploited?

Not as far as is known: CVE-2026-90586 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-90586?

zephyrproject zephyr ≥ 3.6.0, < 4.3.2 (fixed in 4.3.2); zephyrproject zephyr ≥ 4.4.0, < 4.5.0 (fixed in 4.5.0).

How do I fix CVE-2026-90586?

Identify Zephyr deployments on Xtensa targets with CONFIGXTENSAMMU and CONFIGUSERSPACE enabled, including Intel ADSP firmware. Monitor Zephyr security advisories and apply the official fix as soon as it is released, since affected versions are not yet listed in the sources. Until patched, review whether user-mode threads are necessary in affected builds and limit them where possible.

Timeline & sources

References

Related vulnerabilities & news