nvmet-tcp: fix out-of-bounds write when receiving an over-long PDU (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.71 % · centile 55 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: fix out-of-bounds write when receiving an over-long PDU nvmet_tcp_try_recv_pdu() reads a PDU header into the fixed 128-byte queue->pdu union, then computes the remaining payload length as queue->left = hdr->hlen - queue->offset + hdgst; and reads that many more bytes into &queue->pdu + queue->offset, without ever bounding the result against sizeof(queue->pdu). A struct nvme_tcp_icreq_pdu is itself 128 bytes, exactly the size of the union. Once a header digest has been negotiated (hdgst = 4), a second ICReq passes the hlen == nvmet_tcp_pdu_size() check but yields queue->left = 128 - 8 + 4 = 124, so bytes 8..132 are written into the 128-byte buffer -- 4 bytes past its end, over queue->hdr_digest and queue->data_digest. Those bytes are attacker-controlled (an ICReq carries no digest), and the duplicate ICReq is only rejected later, after the overflow. A remote unauthenticated host can thus corrupt kernel memory adjacent to the receive buffer. Reject any PDU whose declared length would read past the end of queue->pdu before the second recv.
Références
- https://git.kernel.org/stable/c/a3f0bcfbaf3312a5754d1ce020a07d394669eb25
- https://git.kernel.org/stable/c/4f84d42c53c49557fb1ef285c683b0a81b576c74
- https://git.kernel.org/stable/c/58dc6035b79c4c73c0cbf9ec9f68a7f117b2b3e6
- https://git.kernel.org/stable/c/cf5f39d2b58f97e0cd1829c4a6aeef17f1607cca
- https://git.kernel.org/stable/c/3a385e0c39efbe34db8edd95900c123113ae3450
- https://git.kernel.org/stable/c/dbc4acbdb3ca8c81441368ad7409b8f77d4de8f6
- https://git.kernel.org/stable/c/d95d342bc0ea82dc79e6362b2f1f997431750e4c
- https://git.kernel.org/stable/c/14cc5a7e77731497d5bea70f3bb05df7eda982e4
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-80569
- GCVE · GCVE-0-2026-89969
Avis du CERT-FR
- CERTFR-2026-AVI-1676 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < a3f0bcfbaf3312a5754d1ce020a07d394669eb25 affectée : ≥ 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 4f84d42c53c49557fb1ef285c683b0a81b576c74 affectée : ≥ 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 58dc6035b79c4c73c0cbf9ec9f68a7f117b2b3e6 affectée : ≥ 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < cf5f39d2b58f97e0cd1829c4a6aeef17f1607cca affectée : ≥ 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 3a385e0c39efbe34db8edd95900c123113ae3450 affectée : ≥ 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < dbc4acbdb3ca8c81441368ad7409b8f77d4de8f6 affectée : ≥ 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < d95d342bc0ea82dc79e6362b2f1f997431750e4c affectée : ≥ 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 14cc5a7e77731497d5bea70f3bb05df7eda982e4 Autres versions : non affectée |
| Linux · Linux | affectée : 5.0 non affectée : ≥ 0 < 5.0 non affectée : ≥ 5.10.270 ≤ 5.10.* non affectée : ≥ 5.15.221 ≤ 5.15.* non affectée : ≥ 6.1.188 ≤ 6.1.* non affectée : ≥ 6.6.157 ≤ 6.6.* non affectée : ≥ 6.12.110 ≤ 6.12.* non affectée : ≥ 6.18.51 ≤ 6.18.* non affectée : ≥ 7.2.5 ≤ 7.2.* non affectée : ≥ 7.3 ≤ * Autres versions : affectée |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |