nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec (Linux Linux)

CVE-2026-23112
CRITICAL 9.8

En bref

Source
NVD
EPSS
EPSS 0.47 % · centile 40 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec nvmet_tcp_build_pdu_iovec() could walk past cmd->req.sg when a PDU length or offset exceeds sg_cnt and then use bogus sg->length/offset values, leading to _copy_to_iter() GPF/KASAN. Guard sg_idx, remaining entries, and sg->length/offset before building the bvec.

Faiblesses (CWE)

  • CWE-125 — Lecture hors limites
  • CWE-787 — Écriture hors limites

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 0b9981751be14b59b4473383c731c833738aebdb ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 42afe8ed8ad2de9c19457156244ef3e1eca94b5d ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 1385be357e8acd09b36e026567f3a9d5c61139de ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < dca1a6ba0da9f472ef040525fab10fd9956db59f ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 19672ae68d52ff75347ebe2420dde1b07adca09f ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < ab200d71553bdcf4de554a5985b05b2dd606bc57
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.200 ≤ 5.15.* ; unaffected 6.1.163 ≤ 6.1.* ; unaffected 6.6.124 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD