The kernel object core framework (kernel/obj_core.c) linked every participating kernel object (semaphores, mutexes, message queues, stacks, pipes…
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
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Zephyrproject
- Product
- zephyr
- CVSS v3.1
- 7.7 AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:H
- Weakness
- CWE-416
- NVD status
- Awaiting Analysis
Why it ranks 12 (Routine)
- CVSS v3.1 7.7 high
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.