# CVE-2026-23112: nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-02-13T13:29:56.724Z
- Modified: 2026-10-19T19:17:37.330Z
- Weaknesses: CWE-125, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 872d26a391da92ed8f0c0f5cb5fef428067b7f30 before 0b9981751be14b59b4473383c731c833738aebdb; from 872d26a391da92ed8f0c0f5cb5fef428067b7f30 before 42afe8ed8ad2de9c19457156244ef3e1eca94b5d; from 872d26a391da92ed8f0c0f5cb5fef428067b7f30 before 1385be357e8acd09b36e026567f3a9d5c61139de; from 872d26a391da92ed8f0c0f5cb5fef428067b7f30 before dca1a6ba0da9f472ef040525fab10fd9956db59f; from 872d26a391da92ed8f0c0f5cb5fef428067b7f30 before 19672ae68d52ff75347ebe2420dde1b07adca09f; from 872d26a391da92ed8f0c0f5cb5fef428067b7f30 before ab200d71553bdcf4de554a5985b05b2dd606bc57; from 872d26a391da92ed8f0c0f5cb5fef428067b7f30 before 52a0a98549344ca20ad81a4176d68d28e3c05a5c; 5.0 (not affected: before 5.0; from 5.10.253 up to 5.10.*; from 5.15.200 up to 5.15.*; from 6.1.163 up to 6.1.*; from 6.6.124 up to 6.6.*; from 6.12.70 up to 6.12.*; from 6.18.10 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 5.0 before 5.10.250; from 5.11 before 5.15.200; from 5.16 before 6.1.163; from 6.2 before 6.6.124; from 6.7 before 6.12.70; from 6.13 before 6.18.10; 6.19

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/0b9981751be14b59b4473383c731c833738aebdb>
- <https://git.kernel.org/stable/c/42afe8ed8ad2de9c19457156244ef3e1eca94b5d> (patch)
- <https://git.kernel.org/stable/c/1385be357e8acd09b36e026567f3a9d5c61139de> (patch)
- <https://git.kernel.org/stable/c/dca1a6ba0da9f472ef040525fab10fd9956db59f> (patch)
- <https://git.kernel.org/stable/c/19672ae68d52ff75347ebe2420dde1b07adca09f> (patch)
- <https://git.kernel.org/stable/c/ab200d71553bdcf4de554a5985b05b2dd606bc57> (patch)
- <https://git.kernel.org/stable/c/52a0a98549344ca20ad81a4176d68d28e3c05a5c> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>

## Sources

- CVE List: [CVE-2026-23112](https://www.cve.org/CVERecord?id=CVE-2026-23112), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-23112](https://nvd.nist.gov/vuln/detail/CVE-2026-23112), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-23112 · Whole record: https://cve.day/CVE-2026-23112.json · Rebuilt by cve.day 2026-11-25T22:59:13.845Z
