CVE-2026-10670
Last modified
CVE-2026-10670 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. The CONFIG_USERSPACE verification handler for the k_thread_name_copy() system call (z_vrfy_k_thread_name_copy() in kernel/thread.c) calls k_object_find() on the caller-supplied thread pointer and then dereferences the returned struct k_object without checking it for NULL. k_object_find() returns NULL whenever the supplied pointer is not a registered (static or dynamic) kernel object. The pre-fix guard tested thread == NULL instead of ko == NULL, so an unprivileged user-mode thread that invokes k_thread_name_copy() with any non-NULL but unregistered pointer (e.g. EPSS estimates a 0.10% chance of exploitation in the next 30 days.
Description
The CONFIG_USERSPACE verification handler for the k_thread_name_copy() system call (z_vrfy_k_thread_name_copy() in kernel/thread.c) calls k_object_find() on the caller-supplied thread pointer and then dereferences the returned struct k_object without checking it for NULL. k_object_find() returns NULL whenever the supplied pointer is not a registered (static or dynamic) kernel object. The pre-fix guard tested thread == NULL instead of ko == NULL, so an unprivileged user-mode thread that invokes k_thread_name_copy() with any non-NULL but unregistered pointer (e.g. an arbitrary address) passes the NULL test, after which the verifier reads ko->type through a NULL pointer. Because the syscall verifier runs in supervisor mode, this NULL dereference is a kernel-mode fault that halts or reboots the system, allowing untrusted user code to crash the kernel across the userspace security boundary (denial of service). The marshaller passes the thread argument to the verifier without any prior K_SYSCALL_OBJ validation, so the bad pointer reaches the defect directly. The flaw affects builds with CONFIG_USERSPACE and CONFIG_THREAD_NAME enabled and has been present since the special-case lookup was introduced around v2.0.0; it is present in v4.4.0 and earlier. The fix changes the guard to check the k_object_find() return value (ko == NULL) before dereferencing it.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Zephyrproject | Zephyr | >= 2.0.0, < 4.5.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-10670?
How severe is CVE-2026-10670?
How do I fix CVE-2026-10670?
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-10664The nRF70 Wi-Fi driver's power-save event handler nrf_wifi_e…5
- CVE-2026-10665In Zephyr's WireGuard subsystem (subsys/net/lib/wireguard), …7.4
- CVE-2026-10666parse_ipv4() in subsys/net/ip/utils.c (reached via net_ipadd…9.8
- CVE-2026-10667Zephyr's dynamic kernel-object tracking (kernel/userspace/us…7.8
- CVE-2026-10668The Nuvoton NuMaker HSUSBD USB device-controller driver (dri…4.6
- CVE-2026-10669On Xtensa SoCs built with CONFIG_XTENSA_MPU and CONFIG_USERS…7.8
- CVE-2026-10671In Zephyr's kernel pipe implementation, the userspace syscal…7.1
- CVE-2026-10672subsys/net/lib/lwm2m/lwm2m_pull_context.c copied the firmwar…9.1
- CVE-2026-10673The Zephyr ADIN2111/ADIN1110 10BASE-T1S/T1L Ethernet driver …8.3
- CVE-2026-10674The NXP LPUART serial driver (drivers/serial/uart_mcux_lpuar…5.5
- CVE-2026-10675In Zephyr's Bluetooth Mesh PB-ADV provisioning bearer (subsy…6.5
- CVE-2026-10676Rejected reason: This CVE Record has been rejected by the Ze…
Are you affected by CVE-2026-10670?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
