# CVE-2026-23112: nvmet-tcp: add bounds checks in nvmet\_tcp\_build\_pdu\_iovec

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.93% (percentile 59, 2026-11-26)
- **CWE:** CWE-787, CWE-125
- **Published:** 2026-02-13T13:29:56.724Z
- **Modified:** 2026-10-19T19:17:37.330Z

## Who should check

- Anyone running Linux \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 0b9981751be14b59b4473383c731c833738aebdb; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 42afe8ed8ad2de9c19457156244ef3e1eca94b5d; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 1385be357e8acd09b36e026567f3a9d5c61139de; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< dca1a6ba0da9f472ef040525fab10fd9956db59f; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 19672ae68d52ff75347ebe2420dde1b07adca09f; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< ab200d71553bdcf4de554a5985b05b2dd606bc57; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 52a0a98549344ca20ad81a4176d68d28e3c05a5c
- Anyone running Linux 5.0

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

## Affected and fixed versions

- Linux: \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 0b9981751be14b59b4473383c731c833738aebdb; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 42afe8ed8ad2de9c19457156244ef3e1eca94b5d; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 1385be357e8acd09b36e026567f3a9d5c61139de; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< dca1a6ba0da9f472ef040525fab10fd9956db59f; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 19672ae68d52ff75347ebe2420dde1b07adca09f; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< ab200d71553bdcf4de554a5985b05b2dd606bc57; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 52a0a98549344ca20ad81a4176d68d28e3c05a5c (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- Upgrade Linux to 52a0a98549344ca20ad81a4176d68d28e3c05a5c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23112. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23112.md
Affected: Linux >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 0b9981751be14b59b4473383c731c833738aebdb; >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 42afe8ed8ad2de9c19457156244ef3e1eca94b5d; >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 1385be357e8acd09b36e026567f3a9d5c61139de; >= 872d26a391da92ed8f0c0f5…
Fixed in: Linux 0b9981751be14b59b4473383c731c833738aebdb, Linux 42afe8ed8ad2de9c19457156244ef3e1eca94b5d, Linux 1385be357e8acd09b36e026567f3a9d5c61139de, Linux 19672ae68d52ff75347ebe2420dde1b07adca09f, Linux 52a0a98549344ca20ad81a4176d68d28e3c05a5c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23112 being exploited?

There is no confirmed exploitation: CVE-2026-23112 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.93% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23112?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-23112?

Linux \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 0b9981751be14b59b4473383c731c833738aebdb; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 42afe8ed8ad2de9c19457156244ef3e1eca94b5d; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 1385be357e8acd09b36e026567f3a9d5c61139de; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< dca1a6ba0da9f472ef040525fab10fd9956db59f; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 19672ae68d52ff75347ebe2420dde1b07adca09f; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< ab200d71553bdcf4de554a5985b05b2dd606bc57; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 52a0a98549344ca20ad81a4176d68d28e3c05a5c; Linux 5.0.

### Is there a fix for CVE-2026-23112?

Yes. Fixed in Linux 0b9981751be14b59b4473383c731c833738aebdb, Linux 42afe8ed8ad2de9c19457156244ef3e1eca94b5d, Linux 1385be357e8acd09b36e026567f3a9d5c61139de, Linux 19672ae68d52ff75347ebe2420dde1b07adca09f, Linux 52a0a98549344ca20ad81a4176d68d28e3c05a5c. Upgrade Linux to 52a0a98549344ca20ad81a4176d68d28e3c05a5c or later.

### How do I check if I'm affected by CVE-2026-23112?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://git.kernel.org/stable/c/0b9981751be14b59b4473383c731c833738aebdb>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23112>

HTML: <https://flawdb.com/CVE-2026-23112> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23112>
