# CVE-2026-90586: Xtensa MMU userspace: uninitialized thread page-table pointer leads to out-of-bounds supervisor-mode writes

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-26)
- **CWE:** CWE-824
- **Published:** 2026-11-09T22:03:58.198Z
- **Modified:** 2026-11-12T18:17:54.310Z

## Who should check

- Anyone running zephyrproject zephyr \>= 3.6.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0

## Description

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.

## Affected and fixed versions

- zephyrproject zephyr: \>= 3.6.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0 (cvelist)

## Mitigation

- Upgrade zephyr to 4.5.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90586. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90586.md
Affected: zephyrproject zephyr >= 3.6.0, < 4.3.2; >= 4.4.0, < 4.5.0
Fixed in: zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90586 being exploited?

There is no confirmed exploitation: CVE-2026-90586 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90586?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-90586?

zephyrproject zephyr \>= 3.6.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0.

### Is there a fix for CVE-2026-90586?

Yes. Fixed in zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0. Upgrade zephyr to 4.5.0 or later.

### How do I check if I'm affected by CVE-2026-90586?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-334c-qm73-x5mv>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/c770d5c5d19bdb6ff0ae42f7c7e259bd92b17347>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90586>

HTML: <https://flawdb.com/CVE-2026-90586> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90586>
