{"id":"CVE-2026-23112","aliases":["CVE-2026-23112"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec\n\nnvmet_tcp_build_pdu_iovec() could walk past cmd->req.sg when a PDU\nlength or offset exceeds sg_cnt and then use bogus sg->length/offset\nvalues, leading to _copy_to_iter() GPF/KASAN. Guard sg_idx, remaining\nentries, and sg->length/offset before building the bvec.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec\n\nnvmet_tcp_build_pdu_iovec() could walk past cmd->req.sg when a PDU\nlength or offset exceeds sg_cnt and then use bogus sg->length/offset\nvalues, leading to _copy_to_iter() GPF/KASAN. Guard sg_idx, remaining\nentries, and sg->length/offset before building the bvec.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnvmet-tcp: añadir comprobaciones de límites en nvmet_tcp_build_pdu_iovec\n\nnvmet_tcp_build_pdu_iovec() podría exceder cmd-&gt;req.sg cuando una longitud o desplazamiento de PDU excede sg_cnt y luego usar valores sg-&gt;length/offset erróneos, lo que lleva a _copy_to_iter() GPF/KASAN. Proteger sg_idx, las entradas restantes y sg-&gt;length/offset antes de construir el bvec.","source":"nvd"}],"published":"2026-02-13T13:29:56.724Z","modified":"2026-10-19T19:17:37.330Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-125","CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"0b9981751be14b59b4473383c731c833738aebdb","status":"affected"},{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"42afe8ed8ad2de9c19457156244ef3e1eca94b5d","status":"affected"},{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"1385be357e8acd09b36e026567f3a9d5c61139de","status":"affected"},{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"dca1a6ba0da9f472ef040525fab10fd9956db59f","status":"affected"},{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"19672ae68d52ff75347ebe2420dde1b07adca09f","status":"affected"},{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"ab200d71553bdcf4de554a5985b05b2dd606bc57","status":"affected"},{"type":"git","introduced":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","fixed":"52a0a98549344ca20ad81a4176d68d28e3c05a5c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.200","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.163","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.124","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.70","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.10","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.0","fixed":"5.10.250"},{"status":"affected","introduced":"5.11","fixed":"5.15.200"},{"status":"affected","introduced":"5.16","fixed":"6.1.163"},{"status":"affected","introduced":"6.2","fixed":"6.6.124"},{"status":"affected","introduced":"6.7","fixed":"6.12.70"},{"status":"affected","introduced":"6.13","fixed":"6.18.10"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0b9981751be14b59b4473383c731c833738aebdb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/42afe8ed8ad2de9c19457156244ef3e1eca94b5d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1385be357e8acd09b36e026567f3a9d5c61139de","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dca1a6ba0da9f472ef040525fab10fd9956db59f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19672ae68d52ff75347ebe2420dde1b07adca09f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab200d71553bdcf4de554a5985b05b2dd606bc57","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/52a0a98549344ca20ad81a4176d68d28e3c05a5c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T15:06:29.646Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23112","url":"https://www.cve.org/CVERecord?id=CVE-2026-23112","licence":"CVE Terms of Use","modified":"2026-10-19T18:25:31.675Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23112","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23112","licence":"Public domain","modified":"2026-10-19T19:17:37.330Z"}],"updatedAt":"2026-11-25T22:59:13.845Z","epss":{"score":0.00478,"percentile":0.42887,"date":"2026-12-01T12:00:22.000Z"}}