Skip to main content
Menu
CVEs

Zephyr kernel memory read via k_thread_stack_space_get syscall

Affects Zephyr 2.2.0 to before 4.3.2 and 4.4.0 to before 4.5.0 with CONFIG_USERSPACE, CONFIG_INIT_STACKS, CONFIG_THREAD_STACK_INFO and CONFIG_NO_RUNTIME_CHECKS or CONFIG_ASSERT_ON_ERRORS. Fixed in 4.3.2 and 4.5.0.

CVE-2026-104928Published November 27, 2026, updated

2.8LowCNA
Exploited
No known exploitation
Fix
Fixed in 4.3.2, 4.5.0
Who is exposed
Specific setups only

Summary

A local user with low privileges can exploit a flaw in the Zephyr kernel's thread stack-space syscall, which fails to validate the thread object it receives, to read memory at addresses they choose, including hardware registers, but not to write it. The attacker needs no user interaction, and the read is limited to counting leading 0xAA bytes at the chosen address.

Written by a model

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

Who should check

Teams running Zephyr 2.2.0 up to 4.3.2 or 4.4.0 up to 4.5.0 with userspace, init stacks and thread stack info, plus runtime checks disabled or assertions on errors.

Not fixed by: Release lines that have not taken the backport remain affected.

“>= 2.2.0, < 4.3.2; >= 4.4.0, < 4.5.0”

github.com

What to do

  1. Check whether your setup matches what the bug needs.

    Builds with CONFIG_USERSPACE, CONFIG_INIT_STACKS and CONFIG_THREAD_STACK_INFO enabled. CONFIG_NO_RUNTIME_CHECKS or CONFIG_ASSERT_ON_ERRORS selected as the error-check mode. Affected Zephyr versions are >= 2.2.0 before 4.3.2, and >= 4.4.0 before 4.5.0.
  2. Upgrade to a fixed version: 4.3.2, 4.5.0.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-104928 (Kernel object validation bypass in k_thread_stack_space_get syscall verifier with CONFIG_NO_RUNTIME_CHECKS), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-104928 (entry last updated 2026-11-27):
Affected:
- zephyrproject zephyr: from 2.2.0, fixed in 4.3.2; from 4.4.0, fixed in 4.5.0
Fixed versions: 4.3.2, 4.5.0.
Conditions (all must be true for the bug to be hit):
- Builds with CONFIG_USERSPACE, CONFIG_INIT_STACKS and CONFIG_THREAD_STACK_INFO enabled. (source: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-9rqv-pm73-2p49)
- CONFIG_NO_RUNTIME_CHECKS or CONFIG_ASSERT_ON_ERRORS selected as the error-check mode. (source: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-9rqv-pm73-2p49)
- Affected Zephyr versions are >= 2.2.0 before 4.3.2, and >= 4.4.0 before 4.5.0. (source: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-9rqv-pm73-2p49)
Setup: the bug needs a feature or setting that is off by default or uncommon. Check whether each asset has it on.
Attacker needs: local access, low-privilege login, no user action.
CISA KEV: CVE-2026-104928 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-104928 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/zephyrproject-rtos/zephyr/commit/02e50aa056c54bbec45727e27803bdd0cb9ab858
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-9rqv-pm73-2p49
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-104928
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-104928"}.

Affected versions

cve.now Index

8Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure5/25Specific setups only
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity2.8/10CVSS 2.8
  • No patch0/5No signal

What would change the score

  • Would score about 58 if added to CISA KEV
  • Would score about 53 if CISA's SSVC rates exploitation active
  • Would score about 18 if CISA's SSVC rates it automatable

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 4

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
AdvisoryGitHub · zephyrproject-rtos/zephyr · Advisory GHSA-9rqv-pm73-2p49
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-104928
RecordNVD · CVE-2026-104928
Other links 1
PatchGitHub · zephyrproject-rtos/zephyr · Commit 02e50aa0

Questions about CVE-2026-104928

Is CVE-2026-104928 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

A user-mode thread without special privileges can get a limited view of arbitrary kernel or peripheral memory through the k_thread_stack_space_get syscall. It can perform privileged reads of attacker-selected addresses, including MMIO, but no write primitive results.

Source: github.com

Which versions are affected by CVE-2026-104928?

zephyr: from 2.2.0 before 4.3.2; from 4.4.0 before 4.5.0.

Source: cve.now feed data

Am I affected, and how do I check?

Affected builds are Zephyr 2.2.0 up to but not including 4.3.2, and 4.4.0 up to but not including 4.5.0. The build must enable CONFIG_USERSPACE, CONFIG_INIT_STACKS and CONFIG_THREAD_STACK_INFO, and use CONFIG_NO_RUNTIME_CHECKS or CONFIG_ASSERT_ON_ERRORS as the error-check mode. The Zephyr version and these options can be checked in the build's configuration output (the .config file).

Source: github.com

How do I fix CVE-2026-104928?

Upgrade to Zephyr 4.3.2 for the 4.3 line or to Zephyr 4.5.0 for the 4.4 line, or any later release.

Source: github.com

No corrections so far. Something wrong on this page? Report an error.