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

Published Jul 14, 2026
·
Updated

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 kthreadnamecopy() 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 kobjectfind() return value (ko == NULL) before dereferencing it.

Affected Software

2 affected components
Linux kernel (CONFIG_USERSPACE + CONFIG_THREAD_NAME)>v2.0.0<=v4.4.0
zephyrproject zephyr>=2.0.0<4.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade kernel/thread.c (z_vrfy_k_thread_name_copy) to a version that resolves this vulnerability.

    Fixed in v4.4.0 and earlier
  2. Compensating control

    Mitigate denial-of-service by preventing untrusted users from invoking the k_thread_name_copy() syscall verifier path (e.g., restrict access to the syscall or run with CONFIG_USERSPACE disabled).

  3. Operational

    After applying the guard fix, restart the affected systems/instances to ensure the updated kernel code is loaded.

Event History

Jul 14, 2026
CVE Published
via MITRE·03:02 PM
Data Sourced
via MITRE·03:02 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-10670?

CVE-2026-10670 has a medium severity score of 5.5.

2

How do I fix CVE-2026-10670?

To fix CVE-2026-10670, ensure that the kernel is updated to a patched version that addresses the NULL-pointer dereference issue.

3

What systems are affected by CVE-2026-10670?

CVE-2026-10670 affects the Linux kernel when CONFIG_USERSPACE and CONFIG_THREAD_NAME are enabled.

4

What type of vulnerability is CVE-2026-10670?

CVE-2026-10670 is categorized as a null pointer dereference leading to a denial of service (DoS).

5

What could be the impact of CVE-2026-10670?

The impact of CVE-2026-10670 can result in a denial of service by crashing the kernel due to user-triggered actions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203