# CVE-2026-10670: User-triggerable kernel NULL-pointer dereference (DoS) in `k_thread_name_copy()` syscall verifier

- Severity: Medium 5.5 (CVSS:3.1, scored by zephyr) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-14T15:02:03.452Z
- Modified: 2026-11-04T04:58:49.441Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: zephyr

## 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.

(As written by CVE List.)

## Affected

- zephyr: from 3.7.0 before 4.3.1; from 4.4.0 before 4.4.2
- zephyrproject zephyr: from 2.0.0 before 4.5.0

## References

- <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-82h2-v4vm-q2g9> (exploit, patch, vendor-advisory)
- <https://github.com/zephyrproject-rtos/zephyr/commit/491583951036bc5794a3843a4baa246453bb1ee2> (patch)

## Sources

- CVE List: [CVE-2026-10670](https://www.cve.org/CVERecord?id=CVE-2026-10670), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2026-10670](https://nvd.nist.gov/vuln/detail/CVE-2026-10670), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-10670 · Whole record: https://cve.day/CVE-2026-10670.json · Rebuilt by cve.day 2026-11-25T22:59:27.896Z
