CVE-2026-16513Zephyrproject Zephyr out-of-bounds write
Scor CVSS
7.8
Ridicat
CVSS 3.1 de la zephyrproject.org
Probabilitate de exploatare (EPSS)
0.17%
Șansă de 0.17% să fie exploatată în următoarele 30 de zile, peste 5.76% dintre toate CVE-urile.
CISA KEV
Nu este în KEV
CISA nu a raportat până acum exploatări confirmate.
Descrierea oficială
The userspace verifier z_vrfy_rtio_sqe_copy_in_get_handles() in subsys/rtio/rtio_syscalls.c (subsys/rtio/rtio_handlers.c before v4.3.0) validated the RTIO object handle and the sqes input array, but not the handle out-parameter. On the first loop iteration it executed *handle = sqe, storing the kernel address of the newly acquired submission-queue entry through a pointer taken verbatim from user mode, with no K_SYSCALL_MEMORY_WRITE check in front of it.
Any user-mode thread that has been granted a struct rtio kernel object can invoke the syscall with an arbitrary address in handle. That is the ordinary way an unprivileged thread uses the RTIO API, for example via sensor_read_async_mempool() or the async ADC helpers, which call rtio_sqe_copy_in_get_handles() internally. The store happens in supervisor mode before any submission-entry validation, so it fires regardless of whether the SQE contents are subsequently rejected. Only builds with CONFIG_USERSPACE and CONFIG_RTIO are affected; without CONFIG_USERSPACE the verifier is not compiled and the caller is already privileged.
The write address is fully attacker-chosen and the written value is a pointer into the caller's own RTIO ring, whose contents the caller controls (the following *sqe = sqes[i] copies an attacker-supplied struct rtio_sqe into that slot). This yields a write-what-where primitive placing a pointer to attacker-controlled data at any kernel address, sufficient to corrupt kernel function pointers, thread structures, or memory-domain partition tables, and thus to escalate from user mode to kernel mode, defeating the isolation boundary CONFIG_USERSPACE is meant to enforce. At minimum it is a reliable kernel memory-corruption and crash primitive. The reporter reproduced the write on qemu_x86: a K_USER thread changed a supervisor global from NULL to a live kernel SQE pointer.
The fix adds K_SYSCALL_MEMORY_WRITE(handle, sizeof(*handle)) (guarded by the existing optional-NULL semantics) before the loop, so the destination must lie in the calling thread's writable memory domain or the thread is terminated by K_OOPS. The neighbouring verifier z_vrfy_rtio_cqe_get_mempool_buffer(), which checked its buff/buff_len out-parameters only for read although the implementation writes through them, was hardened separately by bea93400138 ("rtio: syscalls: validate output params as writable"); that residual was materially weaker, since a read check still confines the target to the caller's own memory domain.
Sursa: NVD · CNA: vulnerabilities@zephyrproject.org
Cum îl remediezi, pas cu pas
Verifică dacă ești afectat
Identifică toate sistemele care rulează zephyrproject Zephyr și compară versiunea lor cu versiunile afectate.
Actualizează la o versiune remediată
- Actualizează Zephyr la 4.3.2, 4.4.2 sau mai nou, pe ramura pe care o folosești.
Dacă nu poți actualiza imediat
Aplică soluția temporară sau măsura de atenuare din avizul furnizorului până poți actualiza:
Confirmă remedierea
Verifică dacă toate sistemele afectate raportează acum o versiune remediată și revezi avizul furnizorului: remedierile sunt uneori revizuite.
Ți-a fost util?
Cum poate fi exploatată
- Vector de atac
- Local
- Complexitatea atacului
- Scăzut
- Privilegii necesare
- Scăzut
- Interacțiune cu utilizatorul
- Niciunul
- Domeniu de impact
- Neschimbat
- Confidențialitate
- Ridicat
- Integritate
- Ridicat
- Disponibilitate
- Ridicat
Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Produse afectate
| Produse afectate | Versiuni |
|---|---|
| zephyrproject Zephyr | ≥ 3.4.0, < 4.4.2 · ≥ 3.4.0, < 4.3.2 · ≥ 4.4.0, < 4.4.2 |
Tip de slăbiciune
- CWE-787 out-of-bounds write
Cronologie
- Publicat:
- Ultima modificare:
Întrebări frecvente
Este CVE-2026-16513 exploatată?
Până acum nu există exploatări confirmate în catalogul CISA KEV. Scorul EPSS estimează o probabilitate de 0.2% de exploatare în următoarele 30 de zile.
Care este scorul CVSS pentru CVE-2026-16513?
CVE-2026-16513 are un scor de bază CVSS 3.1 de 7.8 (ridicat).
Ce versiuni sunt afectate?
Zephyrproject Zephyr (≥ 3.4.0, < 4.4.2; ≥ 3.4.0, < 4.3.2; ≥ 4.4.0, < 4.4.2)
Există patch pentru CVE-2026-16513?
Înregistrarea oficială trimite la avize sau patch-uri ale producătorului; vezi „Ce trebuie să faci” mai sus.
Referințe
- github.com/zephyrproject-rtos/zephyr/commit/95c355c425763fbe5e735b9ef54dacce2c4ce21f(Patch)
- github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fwmc-q8qg-jcxq(Exploit, Patch, Vendor Advisory)
Date: NVD, CVE.org (cvelistV5), CISA KEV și FIRST EPSS. Rezumat scris de RedCVE cu ajutorul AI, pe baza datelor oficiale.