CVE-2026-99803
Linux kernel socket filter bypass in io_uring socket requests
An attacker can bypass socket type filters by setting creation flags such as SOCK_CLOEXEC or SOCK_NONBLOCK.
Texto original en inglés · Ver en español
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-99803 divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
The Linux kernel's io_uring socket request handling does not mask creation flags out of the socket type before a cBPF filter inspects it. An attacker can use this to bypass filters that check for socket types such as SOCK_DGRAM or SOCK_STREAM by setting SOCK_CLOEXEC or SOCK_NONBLOCK.
Descripción original del registro (Linux)
In the Linux kernel, the following vulnerability has been resolved: io_uring/net: mask socket type with SOCK_TYPE_MASK in io_socket_bpf_populate() When an IORING_OP_SOCKET request is prepared in io_socket_prep(), sock->type retains creation flags such as SOCK_CLOEXEC and SOCK_NONBLOCK until __sys_socket_file() masks them off with SOCK_TYPE_MASK during execution. However, io_socket_bpf_populate() copies sock->type into bctx->socket.type without masking off ~SOCK_TYPE_MASK. As a result, a cBPF filter inspecting bctx->socket.type against socket types such as SOCK_DGRAM or SOCK_STREAM can be bypassed by ORing SOCK_CLOEXEC or SOCK_NONBLOCK into the socket type. Mask sock->type with SOCK_TYPE_MASK when populating bctx->socket.type.
Versiones afectadas
7.0Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Linux |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://git.kernel.org/stable/c/cf635f0def46818d43f40c816b6ba0ff5f3f1618https://git.kernel.org/stable/c/e66907c3ba229399ecfb4ef032b95a4a071c894eLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
