# CVE-2026-64535: nvmet-tcp: Fix potential UAF when ddgst mismatch

> 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.74% (percentile 51, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2026-07-27T06:32:34.859Z
- **Modified:** 2026-11-16T14:57:34.500Z

## Who should check

- Anyone running Linux \>= 91edfca6f8b364d60cde3ddefaf7d03ddf35774b, \< dfb902462bca478f050224ec7a7195aafa7643b1; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< 7e558308eba14c8136cb1e615f0c850f76d1fc0a; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< 96fe2513df590e74b04253a45089cae75569570e; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< e091ff83d962f9ed00d9bd70443676de9fe98bdc; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< 6f9442983a3e4227afd1c83a5251ddbca585ea21; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< 088ee46c18d99baef453afd74181dd40ade044ad; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< dbbd07d0a7020b80f6a7028e561908f7b83b3d5a; 4b17476d809273617d3317fa0d4ae78aa488d760; \>= 5.10.20, \< 5.10.265; \>= 5.11.3, \< 5.12
- Anyone running Linux 5.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

nvmet-tcp: Fix potential UAF when ddgst mismatch

Shivam Kumar found via vulnerability testing:
When data digest is enabled on an NVMe/TCP connection and a digest
mismatch occurs on a non-final H2C\_DATA PDU during an R2T-based
data transfer, the digest error handler in nvmet\_tcp\_try\_recv\_ddgst()
calls nvmet\_req\_uninit() — which performs percpu\_ref\_put() on the
submission queue — but does NOT mark the command as completed. It
does not set cqe-\>status, does not modify rbytes\_done, and does not
clear any flag. When the subsequent fatal error triggers queue
teardown, nvmet\_tcp\_uninit\_data\_in\_cmds() iterates all commands,
checks nvmet\_tcp\_need\_data\_in() for each one, and finds that the
already-uninited command still appears to need data (because
rbytes\_done \< transfer\_len and cqe-\>status == 0). It therefore calls
nvmet\_req\_uninit() a second time on the same command — a double
percpu\_ref\_put against a single percpu\_ref\_get.

## Affected and fixed versions

- Linux: \>= 91edfca6f8b364d60cde3ddefaf7d03ddf35774b, \< dfb902462bca478f050224ec7a7195aafa7643b1; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< 7e558308eba14c8136cb1e615f0c850f76d1fc0a; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< 96fe2513df590e74b04253a45089cae75569570e; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< e091ff83d962f9ed00d9bd70443676de9fe98bdc; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< 6f9442983a3e4227afd1c83a5251ddbca585ea21; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< 088ee46c18d99baef453afd74181dd40ade044ad; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< dbbd07d0a7020b80f6a7028e561908f7b83b3d5a; 4b17476d809273617d3317fa0d4ae78aa488d760; \>= 5.10.20, \< 5.10.265; \>= 5.11.3, \< 5.12 (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- Upgrade Linux to 5.12 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-64535. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64535.md
Affected: Linux >= 91edfca6f8b364d60cde3ddefaf7d03ddf35774b, < dfb902462bca478f050224ec7a7195aafa7643b1; >= fda871c0ba5d2eed2cd1c881573168129da70058, < 7e558308eba14c8136cb1e615f0c850f76d1fc0a; >= fda871c0ba5d2eed2cd1c881573168129da70058, < 96fe2513df590e74b04253a45089cae75569570e; >= fda871c0ba5d2eed2cd1c88…
Fixed in: Linux 7e558308eba14c8136cb1e615f0c850f76d1fc0a, Linux 96fe2513df590e74b04253a45089cae75569570e, Linux 6f9442983a3e4227afd1c83a5251ddbca585ea21, Linux 088ee46c18d99baef453afd74181dd40ade044ad, Linux 5.10.265, Linux 5.12

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-64535 being exploited?

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

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

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

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

Linux \>= 91edfca6f8b364d60cde3ddefaf7d03ddf35774b, \< dfb902462bca478f050224ec7a7195aafa7643b1; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< 7e558308eba14c8136cb1e615f0c850f76d1fc0a; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< 96fe2513df590e74b04253a45089cae75569570e; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< e091ff83d962f9ed00d9bd70443676de9fe98bdc; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< 6f9442983a3e4227afd1c83a5251ddbca585ea21; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< 088ee46c18d99baef453afd74181dd40ade044ad; \>= fda871c0ba5d2eed2cd1c881573168129da70058, \< dbbd07d0a7020b80f6a7028e561908f7b83b3d5a; 4b17476d809273617d3317fa0d4ae78aa488d760; \>= 5.10.20, \< 5.10.265; \>= 5.11.3, \< 5.12; Linux 5.12.

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

Yes. Fixed in Linux 7e558308eba14c8136cb1e615f0c850f76d1fc0a, Linux 96fe2513df590e74b04253a45089cae75569570e, Linux 6f9442983a3e4227afd1c83a5251ddbca585ea21, Linux 088ee46c18d99baef453afd74181dd40ade044ad, Linux 5.10.265, Linux 5.12. Upgrade Linux to 5.12 or later.

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

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/dfb902462bca478f050224ec7a7195aafa7643b1>
- patch: <https://git.kernel.org/stable/c/7e558308eba14c8136cb1e615f0c850f76d1fc0a>
- patch: <https://git.kernel.org/stable/c/96fe2513df590e74b04253a45089cae75569570e>
- patch: <https://git.kernel.org/stable/c/e091ff83d962f9ed00d9bd70443676de9fe98bdc>
- patch: <https://git.kernel.org/stable/c/6f9442983a3e4227afd1c83a5251ddbca585ea21>
- patch: <https://git.kernel.org/stable/c/088ee46c18d99baef453afd74181dd40ade044ad>
- patch: <https://git.kernel.org/stable/c/dbbd07d0a7020b80f6a7028e561908f7b83b3d5a>

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

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