# CVE-2026-104376: Use-after-free write through dangling object-core list node in Zephyr kernel obj\_core

- **Severity:** HIGH 7.7
- **CVSS:** 7.7 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.26% (percentile 19, 2026-12-01)
- **CWE:** CWE-416
- **Published:** 2026-11-29T20:56:39.604Z
- **Modified:** 2026-11-29T21:17:01.123Z

> **AI summary (AI-generated, claude-haiku-5-5):** An unprivileged user-mode thread or kernel code path can write a kernel pointer into freed kernel heap memory via stale object-core list nodes, corrupting Zephyr RTOS kernel memory.

## Who should check

- Anyone running zephyrproject zephyr \>= 3.5.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0

## 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.

## Affected and fixed versions

- zephyrproject zephyr: \>= 3.5.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0 (cvelist)

## Technologies

Zephyr RTOS

## Mitigation

- Upgrade zephyr to 4.5.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-104376. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-104376.md
Affected: zephyrproject zephyr >= 3.5.0, < 4.3.2; >= 4.4.0, < 4.5.0
Fixed in: zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-104376 being exploited?

There is no confirmed exploitation: CVE-2026-104376 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-12-01).

### How serious is CVE-2026-104376?

High: CVSS 7.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-104376?

zephyrproject zephyr \>= 3.5.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0.

### Is there a fix for CVE-2026-104376?

Yes. Fixed in zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0. Upgrade zephyr to 4.5.0 or later.

### How do I check if I'm affected by CVE-2026-104376?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-444q-r3f3-h2x4>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/8c1692043a2e3bb23544ba3009b8b2092837d516>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-104376>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-104376> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-104376>
