CVE-2026-104928
LOW 2.8CVSS 3.1Kernel object validation bypass in k_thread_stack_space_get syscall verifier with CONFIG_NO_RUNTIME_CHECKS
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.
- Published
- 27 Nov 2026
- Last modified
- 3 Dec 2026
- Assigned by
- vulnerabilities@zephyrproject.org
- NVD status
- Awaiting Analysis
- Weakness
- CWE-862
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | vulnerabilities@zephyrproject.org (Secondary) | CVSS 3.1 | LOW 2.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N |
| CVE List | zephyr | CVSS 3.1 | LOW 2.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://github.com/zephyrproject-rtos/zephyr | zephyr | >= 2.2.0, < 4.3.2; >= 4.4.0, < 4.5.0 | 4.3.2, 4.5.0 |
References
- https://github.com/zephyrproject-rtos/zephyr/commit/02e50aa056c54bbec45727e27803bdd0cb9ab858 · patch
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-9rqv-pm73-2p49
History
- 3 Dec 2026 21:56 UTC · CVE List: updated (other details)
- 3 Dec 2026 21:56 UTC · NVD: updated (other details)
- 27 Nov 2026 16:57 UTC · NVD: first stored (published 27 Nov 2026)
- 27 Nov 2026 15:57 UTC · CVE List: first stored (published 27 Nov 2026)