What is CVE-2026-12234?
CVE-2026-12234 is a vulnerability in Zephyr RTOS's `z_vrfy_zsock_sendmsg()` and `z_vrfy_zsock_recvmsg()` functions in `sockets.c`. The flaw occurs because the kernel re-reads a live user-space `struct net_msghdr` for subsequent decisions instead of relying on the previously saved kernel copy, leading to a Time-of-Check-Time-of-Use (TOCTOU) race condition. Affected users should apply the necessary security patches immediately.
Azərbaycanca: CVE-2026-12234 Zephyr RTOS-un sockets.c faylında yerləşən `z_vrfy_zsock_sendmsg()` və `z_vrfy_zsock_recvmsg()` funksiyalarında aşkarlanmış təhlükəsizlik zəifliyidir. Bu zəiflik, kernelin istifadəçi məkanından kopyalanmış `struct net_msghdr` əvəzinə, orijinal, dəyişdirilə bilən istifadəçi strukturunu oxuması nəticəsində Time-of-Check-Time-of-Use (TOCTOU) yarış vəziyyətinə səbəb olur. Təsirə məruz qalan sistemlərdə istifadəçilər dərhal təhlükəsizlik yeniləməsini tətbiq etməlidirlər.
FAQ2
In which component of Zephyr RTOS does the CVE-2026-12234 vulnerability exist?
The CVE-2026-12234 vulnerability exists in the `z_vrfy_zsock_sendmsg()` and `z_vrfy_zsock_recvmsg()` functions located in the sockets.c file of Zephyr RTOS.
What is the main cause of the CVE-2026-12234 vulnerability?
The vulnerability is caused by a Time-of-Check-Time-of-Use (TOCTOU) race condition, where the kernel re-reads the original, modifiable user-space `struct net_msghdr` for decisions instead of using the previously saved kernel copy.
See also6
This explainer is AI-written from source data — skopnix's own reporting on this CVE; CVSS scores, vendors and versions are never invented. See NVD for the official record.