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.15% 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
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-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-106676qiujie mall-server 0.0.1-SNAPSHOT contains an integer overfl…5.4
- CVE-2026-106677Homestay3 homestay-backend 0.0.1-SNAPSHOT contains an IDOR i…7.1
- 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-106700ELADMIN v2.7 and earlier contains an improper access control…8.8
- CVE-2026-106701ELADMIN v2.7 and before is vulnerable to Cross Site Scriptin…6.1
- CVE-2026-106705ELADMIN (eladmin-mp) up to 2.7 contains an improper access c…8.8
- CVE-2026-106706XXL-JOB through 3.5.0-SNAPSHOT is vulnerable to stored cross…5.4
- CVE-2026-106707XXL-JOB <=3.5.0-SNAPSHOT contains a stored Cross-Site Script…5.4
- CVE-2026-106708XXL-JOB 3.5.0-SNAPSHOT and earlier contains a Cross-Site Req…8.8
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
