Empresa
¿Quiénes somos? Visión y Valores
Herramientas
Email Checker Vigía DNS SSL Checker Password Strength HTTP Headers
Alertas
Todas las alertas Vulnerabilidades Incidentes Solo críticas En CISA KEV
Editorial
Análisis técnico ¿Cuál es mi IP?
Blog
Blog 2MCI ISO 27001 Amenazas LATAM Recursos Gratuitos eBook Gratuito Newsletter Podcast / YouTube
Empresa
Servicios Contacto Suscribirse al Newsletter
🆕 Nuevo en 2MCI
✨ Crear cuenta gratis 🛠️ Ver herramientas sin registro
Ya tengo cuenta
🔒 Iniciar sesión
Equipo
🏠 Portal interno 2MCI
Alto CVE-2026-12234 Multiple Vendors

Vulnerabilidad alta en verificadores de syscall de Zephyr RTOS permite escalada de privilegios

Vulnerabilidad · Publicado 12/08/2026

7.8
CVSS 3.x
04 Medio7 Alto9 Crítico10
Severidad: Alto
Resumen ejecutivo

Los verificadores de syscall z_vrfy_zsock_sendmsg() y z_vrfy_zsock_recvmsg() en Zephyr RTOS contienen un defecto de validación donde se captura una copia de estructuras de usuario pero se vuelve a leer la estructura original en vivo para decisiones posteriores. Esto permite a atacantes locales modificar buffers iovec entre verificación y uso, escalando privilegios en sistemas embebidos y IoT. Afecta principalmente a dispositivos industrial IoT, telecomunicaciones y sistemas altas en operación en LATAM.

Análisis asistido por IA, contexto LATAM revisado por el equipo 2MCI.

Descripción técnica

Descripción técnica

The userspace syscall verifiers z_vrfy_zsock_sendmsg() and z_vrfy_zsock_recvmsg() in subsys/net/lib/sockets/sockets.c snapshot the caller-supplied struct net_msghdr into a kernel-side copy with k_usermode_from_copy(), but then re-read the still-live user struct for subsequent decisions. The kernel iovec shadow buffer is sized from one read of msg->msg_iovlen, while the population loop is bounded by a second, live read of the same field. Because msg points into ordinary user memory, a cooperating second thread in the same memory domain can inflate msg->msg_iovlen in the window between the sizing read and the loop test (a classic double-fetch / TOCTOU). The population loop then iterates past the number of net_iovec slots actually allocated, writing attacker-influenced iov_base/iov_len values beyond the end of the kernel-heap shadow buffer. The recvmsg verifier has the same defect on both its inbound and result write-back loops. The code is reachable from an unprivileged user thread whenever CONFIG_USERSPACE is enabled and the zsock_sendmsg/zsock_recvmsg syscalls are available. A successful race corrupts kernel-managed heap memory across the user-to-kernel privilege boundary, yielding a local privilege-escalation primitive or, at minimum, a kernel-fault denial of service. The fix copies the header once and derives every size, bound, and gate from the snapshot, copying each iovec entry atomically so its base and length can no longer be raced apart.

Puntuación CVSS

Score: 7.8/10 — Severidad: HIGH — Estado NIST: Received

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Debilidades (CWE)

CWE-367

Fuente oficial

Publicado en NIST NVD.

¿Qué hacer?
  • Inventariar sistemas Zephyr RTOS en producción (IoT, industrial, telecom)
  • Aplicar parche oficial del fabricante inmediatamente
  • Si parche no disponible, aislar sistemas no críticos de redes no confiables
  • Monitorear cambios no autorizados en permisos de procesos
  • Validar logs de acceso a syscalls de red
  • Priorizar según CVSS 7.8 y criticidad operacional
Esta alerta fue generada automáticamente a partir del NVD del NIST.
← Volver a todas las alertas