Saltar al contenido
DayZeroHub
Crítica Sin redactarCVSS 9.8CVE-2026-99858

CVE-2026-99858: nvmet-rdma: fix out-of-bounds write in nvmet_rdma_map_sgl_inline()

Linux Linux

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-99858: vulnerabilidad de severidad crítica (CVSS 9.8) en Linux Linux.

Qué ocurre

Descripción original de la fuente (en inglés): In the Linux kernel, the following vulnerability has been resolved: nvmet-rdma: fix out-of-bounds write in nvmet_rdma_map_sgl_inline() nvmet_rdma_map_sgl_inline() bounds the host-supplied in-capsule SGL offset with "off + len > inline_data_size", evaluated in 64-bit arithmetic. off is taken straight from the host SGL descriptor (le64_to_cpu(sgl->addr)) and len is promoted to 64-bit, so the sum wraps: an off within len of 2^64 makes it small and the check passes. off is then used as page_idx = off / PAGE_SIZE to index the fixed-size rsp->cmd->inline_sg[] array (NVMET_RDMA_MAX_INLINE_SGE entries), so a crafted offset yields an out-of-bounds scatterlist index that is written through in nvmet_rdma_use_inline_sg(). The mapping runs while handling a received capsule, before the command executes, so a remote RDMA peer can reach it (the Connect capsule is a write and takes this path on a queue that has no controller yet). The host controls only the low bits of the resulting displacement, so the expected impact is an out-of-bounds write that faults the target (remote denial of service). This wrap was reported, with a KASAN reproduction, on linux-nvme in May, and the check below was suggested in that thread. The fix that was applied, 48c0162f647b, reworked how the offset is mapped but kept the original check, and its page index turns a wrapped offset into an out-of-bounds index into inline_sg[]. Reject the offset before it can wrap. Found independently by static analysis with AI assistance, not reproduced at runtime.

Por qué importa

Severidad crítica, CVSS 9.8.

Productos y versiones afectados

Linux Linux >= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < 23352a849f3de89fa72da56e0bdd894d9110c099; Linux Linux >= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < 61f65766d779a9d048280fd589df3f36a7df0878; Linux Linux >= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < 2282aac58d857bc2197d5b50f13d7e577a4eedfe; Linux Linux >= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < e2ab52b61e79841c6b1ddf9a9014792c71f32713; Linux Linux >= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < e9e33234547ac2a2ff583813862bc39caac782d8; Linux Linux >= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < cfccc5133007373ce8f2a1b856ad7f6d4969858b; Linux Linux >= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < 6ce60c9226ca583b2b94be63728f3612204f9952; Linux Linux >= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < d1512773a0d539669440bd9f6d050b8e12923b5f; Linux Linux 4.19; Linux Linux < 4.19; Linux Linux 5.10.275 (corregido en 5.10.275); Linux Linux 5.15.226 (corregido en 5.15.226)

ProductoVersionesCorregido en
Linux Linux>= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < 23352a849f3de89fa72da56e0bdd894d9110c099—
Linux Linux>= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < 61f65766d779a9d048280fd589df3f36a7df0878—
Linux Linux>= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < 2282aac58d857bc2197d5b50f13d7e577a4eedfe—
Linux Linux>= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < e2ab52b61e79841c6b1ddf9a9014792c71f32713—
Linux Linux>= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < e9e33234547ac2a2ff583813862bc39caac782d8—
Linux Linux>= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < cfccc5133007373ce8f2a1b856ad7f6d4969858b—
Linux Linux>= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < 6ce60c9226ca583b2b94be63728f3612204f9952—
Linux Linux>= 0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349, < d1512773a0d539669440bd9f6d050b8e12923b5f—
Linux Linux4.19—
Linux Linux< 4.19—
Linux Linux5.10.2755.10.275
Linux Linux5.15.2265.15.226
Linux Linux6.1.1936.1.193
Linux Linux6.6.1636.6.163
Linux Linux6.12.1186.12.118
Linux Linux6.18.646.18.64
Linux Linux7.3.47.3.4
Linux Linux7.4-rc17.4-rc1

Acción recomendada por la fuente

Actualizar a una versión corregida: 5.10.275, 5.15.226, 6.1.193, 6.12.118, 6.18.64, 6.6.163, 7.3.4, 7.4-rc1.

Corregido en: 5.10.275, 5.15.226, 6.1.193, 6.12.118, 6.18.64, 6.6.163, 7.3.4, 7.4-rc1

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.