CVE-2026-104376
7.7HighPublished Nov 29, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Local
- Complexity
- High
- Privileges
- Low
- User action
- None
- Impact
- High impact on integrity, availability
- Weakness
- CWE-416
What an attacker gets
Local attackers can corrupt kernel memory and escape userspace isolation to gain supervisor-mode privileges. This requires the Zephyr kernel to be built with CONFIG_OBJ_CORE, CONFIG_USERSPACE, and CONFIG_DYNAMIC_OBJECTS enabled.
Root cause
The kernel object core framework maintains a linked list of objects that fails to unlink objects when they are freed, leading to use-after-free memory corruption.
Affected versions
Zephyr versions prior to 3.7.2, 3.6.2, and 3.5.1
CVSS v3.1 · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:H
Fix & remediation
Update to Zephyr 3.7.2, 3.6.2, or 3.5.1. If you cannot patch, disable CONFIG_OBJ_CORE in your project configuration file.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1304778.8HighLocal unprivileged users can gain full kernel-mode code execution and bypass memory isolation. This requires the ability to create threads and trigger syscalls in an environment with userspace support enabled.
- CVE-2026-1043788.8HighLocal attackers can escalate privileges or cause a kernel panic by triggering a buffer overflow in the I3C controller driver. This requires the attacker to have access to the I3C controller device node.
- CVE-2026-1054157.0HighLocal unprivileged users can trigger a kernel memory write and potential privilege escalation. This requires the device to have CONFIG_USERSPACE enabled and the user to have access to the MCPWM device.
- CVE-2026-1029577.7HighLocal unprivileged users can trigger kernel memory corruption and potentially escalate privileges. This occurs when a user-mode thread calls pwm_capture_cycles with a K_NO_WAIT timeout on a system with CONFIG_USERSPACE and CONFIG_PWM_CAPTURE enabled.
- CVE-2026-958267.5HighAn adjacent attacker can cause kernel memory corruption and potential code execution. They need to be on the same local network to send a malicious Router Advertisement to trigger the buffer overflow.
- CVE-2026-13836210.0CriticalRemote unauthenticated attackers can achieve full system compromise via a stack-based buffer overflow. This requires network access to the device's web interface.