PT-2026-167709
CVE-2026-86092
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
CVSS 3.1
7.0
HighMetricsAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Zephyr OS (affected versions not specified)
Description
A supervisor-mode use-after-free issue exists in the I2S configure system call. The verifier function
z vrfy i2s configure() in drivers/i2s/i2s handlers.c uses K SYSCALL OBJ() to validate a caller-supplied struct k mem slab *. This check only confirms the object type, initialization, and permissions at a specific point in time without ensuring the object's lifetime. The validated pointer is stored in the driver's stream state (such as drv data->rx.cfg.mem slab in drivers/i2s/i2s nrfx.c) and dereferenced after the system call returns.If a user thread holding the last permission on a slab allocated via
k object alloc() frees it through k object release() or by terminating, the unref check() function in kernel/userspace/userspace.c releases the memory. Subsequent calls to i2s buf write(), i2s buf read(), or driver DMA/ISR completion then access the memory through a stale pointer. This allows an unprivileged user thread to trigger a use-after-free in supervisor mode, potentially compromising the isolation provided by CONFIG USERSPACE. This issue requires CONFIG USERSPACE and CONFIG DYNAMIC OBJECTS to be enabled, and an application that provides a dynamically allocated memory slab to a user thread. Builds using only statically declared slabs via K MEM SLAB DEFINE are not affected.Recommendations
Update the software to a version where the
z vrfy i2s configure() check is replaced with K SYSCALL OBJ STATIC(), which rejects objects with the K OBJ FLAG ALLOC flag.
As a temporary mitigation, avoid using dynamically allocated memory slabs with the I2S configure system call and rely on statically declared slabs using K MEM SLAB DEFINE.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾