The CONFIGUSERSPACE verification handler for the kthreadnamecopy() system call (zvrfykthreadnamecopy() in kernel/thread.c) calls kobjectfind() on the caller-supplied thread pointer and then dereferences the returned struct kobject without checking it for NULL. kobjectfind() 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 kthreadname_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 KSYSCALLOBJ validation, so the bad pointer reaches the defect directly.
The flaw affects builds with CONFIGUSERSPACE and CONFIGTHREADNAME 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 kobject_find() return value (ko == NULL) before dereferencing it.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/10xxx/CVE-2026-10670.json",
"cna_assigner": "zephyr",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "2.0.0"
},
{
"fixed": "4.5.0"
}
]
}
],
"cwe_ids": [
"CWE-476"
]
}[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"78968844115752491900346706859511063258",
"23031492261857932062856868832650399064",
"227238398281647339135147789475275174642",
"306507532385526857747730606655122235252"
]
},
"signature_version": "v1",
"source": "https://github.com/zephyrproject-rtos/zephyr/commit/491583951036bc5794a3843a4baa246453bb1ee2",
"signature_type": "Line",
"target": {
"file": "kernel/thread.c"
},
"id": "CVE-2026-10670-65e4a212",
"deprecated": false
},
{
"digest": {
"length": 626.0,
"function_hash": "181670036012574191942450728500512531333"
},
"signature_version": "v1",
"source": "https://github.com/zephyrproject-rtos/zephyr/commit/491583951036bc5794a3843a4baa246453bb1ee2",
"signature_type": "Function",
"target": {
"function": "z_vrfy_k_thread_name_copy",
"file": "kernel/thread.c"
},
"id": "CVE-2026-10670-d2009e1f",
"deprecated": false
}
]
"2026-07-22T03:45:07Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-10670.json"