# CVE-2026-104928: Kernel object validation bypass in k\_thread\_stack\_space\_get syscall verifier with CONFIG\_NO\_RUNTIME\_CHECKS

- **Severity:** LOW 2.8
- **CVSS:** 2.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N`
- **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: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **CWE:** CWE-862
- **Published:** 2026-11-27T15:42:05.178Z
- **Modified:** 2026-11-27T16:18:02.777Z

> **AI summary (AI-generated, claude-haiku-5-5):** An unprivileged user-mode thread can make the Zephyr kernel scan attacker-chosen memory via k\_thread\_stack\_space\_get, leaking memory contents when object validation checks are disabled.

## Who should check

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

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

## Affected and fixed versions

- zephyrproject zephyr: \>= 2.2.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-104928. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-104928.md
Affected: zephyrproject zephyr >= 2.2.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-104928 being exploited?

There is no confirmed exploitation: CVE-2026-104928 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

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

Low: CVSS 2.8 (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-104928?

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

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

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-104928?

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-9rqv-pm73-2p49>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/02e50aa056c54bbec45727e27803bdd0cb9ab858>

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

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