CVE-2026-104928

low
EUVD alias: EUVD-2026-137454
Assigned by CNA: zephyr
Published 2026-11-27 · Modified 2026-11-27
CVSS v3
2.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
CVSS v4 NEW
—
not yet in upstream
VIR risk
2.8

Description

The system call verifier z_vrfy_k_thread_stack_space_get() in kernel/thread.c checked the result of K_SYSCALL_OBJ(thread, K_OBJ_THREAD) with the CHECKIF() macro instead of K_OOPS(). CHECKIF() compiles to if (0) when CONFIG_NO_RUNTIME_CHECKS is selected, and becomes an assertion when CONFIG_ASSERT_ON_ERRORS is selected. In both cases, the kernel-object validation result for the user-supplied thread pointer is ignored, or is a no-op when assertions are disabled. On builds with CONFIG_USERSPACE, CONFIG_INIT_STACKS and CONFIG_THREAD_STACK_INFO plus one of those check modes, a user-mode thread can call k_thread_stack_space_get() with an arbitrary pointer. That pointer can be a fake struct k_thread in its own memory, or a thread object it has no permission on. z_impl_k_thread_stack_space_get() then dereferences thread->stack_info in supervisor mode and scans memory starting at the attacker-chosen stack_info.start. The syscall returns the number of leading 0xAA bytes at that address. This gives an unprivileged thread a limited oracle on arbitrary kernel or peripheral memory, and allows privileged reads of attacker-selected addresses, including MMIO. No write primitive results. The default CONFIG_RUNTIME_ERROR_CHECKS configuration is not affected. The fix replaces the CHECKIF() with K_OOPS() so the object check is always enforced.

Predictions

Exploit likelihood
29%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Application impact

VendorProductVersionsFixed
zephyrprojectzephyr{"startIncluding":"2.2.0","endExcluding":"4.3.2"}4.3.2
zephyrprojectzephyr{"startIncluding":"4.4.0","endExcluding":"4.5.0"}4.5.0

References

CWEs

CWE-862

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.