PT-2026-161679
CVE-2026-104376
·
Published
2026-11-29
·
Updated
2026-11-29
Description by
CVSS 3.1
7.7
HighMetricsAV:L/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:H
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.
Found an issue in the description? Have something to add? Feel free to write us 👾