CVE-2026-90586
Last modified
CVE-2026-90586 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.11% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-90586?
How severe is CVE-2026-90586?
How do I fix CVE-2026-90586?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-90580A vulnerability was found in FlowiseAI Flowise up to 3.0.2. …6.3
- CVE-2026-90581A vulnerability was determined in cym1102 nginxWebUI up to 4…6.3
- CVE-2026-90582A vulnerability was identified in evanchiu serverless-todo 1…5.3
- CVE-2026-90583A security flaw has been discovered in kagisearch smallweb u…4.3
- CVE-2026-90584A weakness has been identified in TooTallNate Java-WebSocket…5.3
- CVE-2026-90585The Renesas RA SCI UART driver's receive-error ISR, uart_ra_…4.6
- CVE-2026-90587usbh_device_init() in subsys/usb/host/usbh_device.c rejects …4.6
- CVE-2026-90588The HTTP client's debug helper print_header_field() in subsy…3.7
- CVE-2026-90589When CONFIG_THREAD_STACK_MEM_MAPPED is enabled, each thread …5.5
- CVE-2026-9059NextGEN Gallery version prior to 4.2.1 are vulnerable to aut…9.3
- CVE-2026-90590The NXP ENET QoS Ethernet driver in drivers/ethernet/eth_nxp…6.5
- CVE-2026-90591The NXP ENET-QOS Ethernet driver's receive work handler eth_…7.5
Are you affected by CVE-2026-90586?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
