CVE-2026-90586Xtensa MMU userspace: uninitialized thread page-table pointer leads to out-of-bounds…
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | zephyr | Fix pending | UBUNTU-CVE-2026-90586 | |
| Ubuntu 26.04 | zephyr | Under investigation | UBUNTU-CVE-2026-90586 | |
| Ubuntu 24.04 | zephyr | Under investigation | UBUNTU-CVE-2026-90586 | |
| Ubuntu 22.04 | zephyr | Under investigation | UBUNTU-CVE-2026-90586 | |
| Ubuntu 20.04 | zephyr | Fix pending | UBUNTU-CVE-2026-90586 | |
| Ubuntu 18.04 | zephyr | Fix pending | UBUNTU-CVE-2026-90586 | |
| Ubuntu 16.04 | zephyr | Fix pending | UBUNTU-CVE-2026-90586 |
What the vendor says
As published in the CVE record by zephyr, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- zephyrproject zephyr: affected: 3.6.0 to before 4.3.2, 4.4.0 to before 4.5.0; fixed in
4.3.2,4.5.0
Vendor advisories:
References
- https://github.com/zephyrproject-rtos/zephyr/commit/c770d5c5d19bdb6ff0ae42f7c7e259bd92b17347
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-334c-qm73-x5mv
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.