CVE-2026-86092
7.0HighPublished Dec 3, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Local
- Complexity
- High
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-367, CWE-416
What an attacker gets
Local attackers can achieve supervisor-mode use-after-free, leading to privilege escalation or system crashes. This requires the attacker to hold the last permission on a dynamically allocated memory slab used by the I2S driver.
Root cause
The I2S system call verifier performs a time-of-check to time-of-use validation that fails to account for the object's lifetime, allowing a user to free the memory slab while the kernel still holds a pointer to it.
Affected versions
Versions not listed — check the vendor advisory.
CVSS v3.1 · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Update to a patched Zephyr version that uses K_SYSCALL_OBJ_STATIC() for I2S configuration. If you cannot update, ensure your application only uses statically declared slabs (K_MEM_SLAB_DEFINE) and disable CONFIG_DYNAMIC_OBJECTS.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
The user-mode verifier for the I2S configure system call, z_vrfy_i2s_configure() in drivers/i2s/i2s_handlers.c, validated the caller-supplied struct k_mem_slab * with K_SYSCALL_OBJ(). That is a point-in-time check: it confirms the object type, that the object is initialized, and that the calling thread holds permission on it, but it places no hold on the object's lifetime. The validated pointer is then copied into the driver's per-direction stream state (for example drv_data->rx.cfg.mem_slab in drivers/i2s/i2s_nrfx.c) and is dereferenced long after the system call returns. The lifetime of a kernel object allocated with k_object_alloc() is driven solely by its permission bitmask; a pointer retained by the kernel is not represented there. A user thread that holds the last permission on such a slab can free it at any time after the check, either by calling k_object_release() or simply by terminating, at which point unref_check() in kernel/userspace/userspace.c releases both the object metadata and the struct k_mem_slab storage back to the kernel heap. The subsequent i2s_buf_write(), i2s_buf_read(), or driver DMA/ISR completion then calls k_mem_slab_alloc() / k_mem_slab_free() through the stale pointer. The result is a supervisor-mode use-after-free reachable from an unprivileged user thread: the freed block is read and written (free_list, wait queue, info.num_used) after the attacker can have caused it to be reused by an unrelated kernel object, which undermines the isolation that CONFIG_USERSPACE is meant to provide. Exploitation requires CONFIG_USERSPACE together with CONFIG_DYNAMIC_OBJECTS, and an application that hands a dynamically allocated, initialized memory slab to a user thread that becomes its last permission holder — k_mem_slab_init() is not itself a system call, so a user thread cannot create such a slab unaided. Builds that use only statically declared slabs (K_MEM_SLAB_DEFINE) are unaffected. The fix replaces the check with K_SYSCALL_OBJ_STATIC(), which additionally rejects objects carrying K_OBJ_FLAG_ALLOC, so only slabs that can never be freed reach the driver.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1304778.8HighLocal unprivileged users can gain full kernel-mode code execution and bypass memory isolation. This requires the ability to create threads and trigger syscalls in an environment with userspace support enabled.
- CVE-2026-1043767.7HighLocal attackers can corrupt kernel memory and escape userspace isolation to gain supervisor-mode privileges. This requires the Zephyr kernel to be built with CONFIG_OBJ_CORE, CONFIG_USERSPACE, and CONFIG_DYNAMIC_OBJECTS enabled.
- CVE-2026-1043788.8HighLocal attackers can escalate privileges or cause a kernel panic by triggering a buffer overflow in the I3C controller driver. This requires the attacker to have access to the I3C controller device node.
- CVE-2026-1054157.0HighLocal unprivileged users can trigger a kernel memory write and potential privilege escalation. This requires the device to have CONFIG_USERSPACE enabled and the user to have access to the MCPWM device.
- CVE-2026-1029577.7HighLocal unprivileged users can trigger kernel memory corruption and potentially escalate privileges. This occurs when a user-mode thread calls pwm_capture_cycles with a K_NO_WAIT timeout on a system with CONFIG_USERSPACE and CONFIG_PWM_CAPTURE enabled.
- CVE-2026-958267.5HighAn adjacent attacker can cause kernel memory corruption and potential code execution. They need to be on the same local network to send a malicious Router Advertisement to trigger the buffer overflow.