SecurityContext

CVE-2026-64535: Linux kernel nvmet-tcp - Use After Free

  • Cve: CVE-2026-64535
  • Name: Linux kernel nvmet-tcp - Use After Free
  • 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.
  • Impact: Attackers can cause use-after-free leading to potential system instability or code execution.
  • Remediation: Update to the latest Linux kernel version containing the fix.
  • Vulnerability type: use_after_free
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00547
  • Epss percentile: 0.46754
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-07-27T08:16:22Z
  • Age in days: 120
  • Modified at: 2026-11-16T14:57:34Z
  • Patch available: yes
  • References total: 7
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-64535
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-415Double Free

References

Same in every row:

  • Source: nvd
  • Tags: Patch
Url
https://git.kernel.org/stable/c/088ee46c18d99baef453afd74181dd40ade044ad
https://git.kernel.org/stable/c/6f9442983a3e4227afd1c83a5251ddbca585ea21
https://git.kernel.org/stable/c/7e558308eba14c8136cb1e615f0c850f76d1fc0a
https://git.kernel.org/stable/c/96fe2513df590e74b04253a45089cae75569570e
https://git.kernel.org/stable/c/dbbd07d0a7020b80f6a7028e561908f7b83b3d5a
https://git.kernel.org/stable/c/dfb902462bca478f050224ec7a7195aafa7643b1
https://git.kernel.org/stable/c/e091ff83d962f9ed00d9bd70443676de9fe98bdc

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 7.1 rc1; = 7.1 rc2; = 7.1 rc3; >= 6.19, < 7.1; >= 6.13, < 6.18.40; >= 6.7, < 6.12.97; >= 6.2, < 6.6.145; >= 5.16, < 6.1.178; >= 5.11.3, < 5.15.216; >= 5.10.20, < 5.10.265nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports