Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-104376— Use-after-free write through dangling object-core list node in Zephyr kernel obj_core

Quick assessment

Affected
zephyrproject zephyr
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

内核对象核心框架(kernel/obj_core.c)通过对象自身内嵌的 ,将每个参与进来的内核对象(信号量、互斥量、消息队列、栈、管道、事件等)链接到按类型划分的单向链表中。 用 将对象追加到链表,除线程外,没有任何机制会把这些对象从链表中摘除。当对象的存储被释放、超出作用域或被复用,且它恰好是链表尾时,链表会继续指向已失效内存。随后的 (例如由 触发)就会通过该过期节点写入指针。重新初始化当前尾部对象还会使链表自引用,从而导致 / 陷入无限循环。 当 、 和 全部启用时,无特权用户态线程可仅通过系统调用触发该问

CVSS 7.7 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-104376

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Use-after-free write through dangling object-core list node in Zephyr kernel obj_core
Source: CVE Program / CVE List V5
Vulnerability Description
The kernel object core framework (kernel/obj_core.c) linked every participating kernel object (semaphores, mutexes, message queues, stacks, pipes, events, and so on) into a per-type singly linked list through a sys_snode_t embedded in the object itself. k_obj_core_link() appended the object with sys_slist_append(), and nothing ever unlinked these objects except threads. When an object's storage was freed, went out of scope, or was reused while it was the list tail, the list kept pointing into dead memory. The next k_obj_core_init_and_link() (for example from k_sem_init()) then wrote a pointer through that stale node. Re-initializing the current tail object also made the list self-referential, so k_obj_type_walk_locked() / k_obj_type_walk_unlocked() loop forever. When CONFIG_OBJ_CORE, CONFIG_USERSPACE and CONFIG_DYNAMIC_OBJECTS are all enabled, an unprivileged user-mode thread can trigger this through system calls alone. It allocates a semaphore with k_object_alloc(), initializes it with k_sem_init(), and releases it with k_object_release(). unref_check() then frees the object without unlinking it, and the thread's next k_sem_init() makes the kernel write a kernel pointer into the freed (and possibly reallocated) kernel heap chunk. In kernel-only builds with CONFIG_OBJ_CORE enabled, the same defect corrupts memory during ordinary operation, because k_work_flush() and k_work_cancel_sync() initialize semaphores on the caller's stack. The result is supervisor-mode memory corruption that crosses the userspace isolation boundary. It can crash the system, corrupt unrelated kernel objects that reuse the freed memory, or hang any walker of the object-core lists. CONFIG_OBJ_CORE is disabled by default. The fix replaces the intrusive lists with a kernel-owned registry keyed by object address, so the code no longer writes into registered objects' storage.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
释放后使用
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
zephyrproject zephyr 3.5.0 ~ 4.3.2 -

II. Public POCs for CVE-2026-104376

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-104376

请登录查看更多情报信息。

Other References for CVE-2026-104376 (2)

Same Patch Batch · zephyrproject · 2026-11-29 · 10 CVEs total

CVE-2026-104378 8.8 HIGH Out-of-bounds write in DesignWare I3C driver direct CCC handling via unbounded target coun
CVE-2026-130477 8.8 HIGH Kernel user mode: dynamic thread and stack objects can be freed while their thread is stil
CVE-2026-105415 7.0 HIGH Out-of-bounds write via unchecked channel index in ESP32 MCPWM PWM driver set_cycles sysca
CVE-2026-104929 6.5 MEDIUM Remote Bluetooth RX livelock in STM32WBA HCI driver when receive errors are reported as bu
CVE-2026-95821 6.5 MEDIUM Dangling stack pointer left installed as TCP receive callback after a failed SOCKS5 handsh
CVE-2026-102961 5.9 MEDIUM Race between IP fragment reassembly and its timeout handler causes use-after-free in the Z
CVE-2026-104930 5.9 MEDIUM STM32 Ethernet driver (HAL API v2) RX path stalls permanently after a dropped frame
CVE-2026-104379 5.9 MEDIUM Use-after-free of transmitted IPv6 packet in Zephyr net_if_try_send_data
CVE-2026-104377 3.7 LOW Out-of-bounds read via unterminated TFTP ERROR message in Zephyr TFTP client

IV. Related Vulnerabilities