# CVE-2026-19595: Zephyr RTIO syscall verifier validates output parameters for read instead of write access

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 2, 2026-11-26)
- **CWE:** CWE-787, CWE-822
- **Published:** 2026-10-19T22:49:40.334Z
- **Modified:** 2026-11-04T05:18:49.410Z

## Who should check

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

## Description

The user-mode syscall verifier z\_vrfy\_rtio\_cqe\_get\_mempool\_buffer() in subsys/rtio/rtio\_syscalls.c validated its two output parameters, buff and buff\_len, with K\_SYSCALL\_MEMORY\_READ() rather than K\_SYSCALL\_MEMORY\_WRITE(). Both are pure out-parameters: z\_impl\_rtio\_cqe\_get\_mempool\_buffer() stores the mempool buffer address and its length through them. The distinction is enforced by every architecture validator — arch\_buffer\_validate() on RISC-V PMP explicitly accepts the global \_\_rom\_region/\_\_rodata\_region for reads only, and the ARM MPU validators accept P\_RO\_U\_RO and P\_RW\_U\_RO regions for reads only — so a read-validated pointer is not necessarily writable by the calling thread.

An unprivileged user-mode thread that has been granted access to an RTIO context (rtio\_access\_grant()) can invoke the rtio\_cqe\_get\_mempool\_buffer() syscall with buff/buff\_len pointing at memory it may read but not write, and with a completion-queue entry whose flags field it fully controls (only RTIO\_CQE\_FLAG\_MEMPOOL\_BUFFER in flags\[7:0\] is required; flags\[19:8\] and flags\[31:20\] supply the block index and count). The kernel then performs a pointer-sized and a 4-byte store through those addresses while running in supervisor mode. Reaching the store requires CONFIG\_USERSPACE together with CONFIG\_RTIO\_SYS\_MEM\_BLOCKS, the configuration behind RTIO\_DEFINE\_WITH\_MEMPOOL; without the latter the implementation returns -ENOTSUP and writes nothing.

Two outcomes follow. If the target lies in a memory-domain partition declared K\_MEM\_PARTITION\_P\_RW\_U\_RO (privileged read-write, user read-only), the kernel-mode store succeeds and deposits partly attacker-chosen values into memory the memory domain had marked read-only for that thread, bypassing the partition's write protection. If the target lies in globally readable but unwritable memory such as .text/.rodata in flash, the store faults in kernel mode; the fault is delivered to z\_fatal\_error() and the default k\_sys\_fatal\_error\_handler() halts or reboots the device, giving an unprivileged thread a reliable full denial of service.

The read-permission check does bound the damage: the address must still be readable by the calling thread, so kernel-private memory cannot be targeted and no confidential data is disclosed. The fix replaces both checks with K\_SYSCALL\_MEMORY\_WRITE(), so a thread lacking write permission is terminated by K\_OOPS before the implementation runs; the cqe argument correctly remains read-validated.

## Affected and fixed versions

- zephyrproject zephyr: \>= 3.4.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0 (cvelist)

## 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-19595. Work read-only: do not install, upgrade, delete or change anything.

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

There is no confirmed exploitation: CVE-2026-19595 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

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

Medium: CVSS 6.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-19595?

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

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

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

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-7337-mc44-5wjm>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/bea93400138362691403b7f81de1e9048681547d>

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

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