CVE-2026-104376: Zephyr kernel object core framework use-after-free memory corruption

CVE-2026-104376 · Severity: high · CVSS 7.7 · Published 2026-11-29

The Zephyr RTOS kernel object registry fails to unlink freed kernel objects from internal tracking lists, causing the kernel to write data into freed memory on subsequent object initialization. An unprivileged user-mode thread can trigger this vulnerability through system calls alone when user-space and dynamic object allocation are enabled, leading to kernel memory corruption that crashes the system or corrupts kernel data structures. When user isolation is not enabled, the same defect corrupts memory during normal operation of work queue functions.

Technologies: Zephyr Project Zephyr RTOS. Vendors: Zephyr Project.

Quick answers

Is CVE-2026-104376 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-104376 being exploited in the wild.
How severe is CVE-2026-104376?
High severity, with a CVSS score of 7.7, published 29 November 2026.
Which products and versions are affected?
Zephyr Project Zephyr RTOS versions with CONFIG_OBJ_CORE enabled.
Is there a fix for CVE-2026-104376?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-104376 attacked?
It is attacked with local access, in an operating system.
Am I affected by CVE-2026-104376?
Check whether you run Zephyr Project Zephyr RTOS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The kernel/obj_core.c framework maintains per-type singly linked lists of kernel objects (semaphores, mutexes, message queues, etc.) by embedding sys_snode_t nodes in each object. When an object is freed via k_object_release() or goes out of scope, the node is not unlinked, leaving the list with a dangling pointer. Subsequent k_obj_core_init_and_link() calls write kernel pointers through these stale nodes into freed heap memory, potentially causing list corruption or infinite loops in k_obj_type_walk_locked(). With CONFIG_USERSPACE and CONFIG_DYNAMIC_OBJECTS enabled, unprivileged user code can reliably trigger this via k_object_alloc()/k_sem_init()/k_object_release() sequences; without user isolation, k_work_flush() and k_work_cancel_sync() corrupt memory during normal operation. The fix replaces intrusive lists with a kernel-owned registry keyed by object address.

Affected products

  • Zephyr Project Zephyr RTOS versions with CONFIG_OBJ_CORE enabled

Timeline

  • 2026-11-29: disclosed

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.