CVE-2026-64535·Kernel vulnerability
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.
- Severity
- critical
- Software
- Kernel
- Fixed in
- 7.1
- Published
Affected versions
From: 6.19
Until: 7.1
Fixed in: 7.1
How to fix this CVE
Update your Linux kernel to version 7.1 or later to resolve a use-after-free condition in NVMe/TCP digest error handling. This vulnerability occurs when data digest validation fails on non-final PDUs, causing double reference counting on submission queue resources. Immediate kernel patching is critical for systems running NVMe/TCP with digest validation enabled.
sudo dnf check-update kernel && sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r — verify it is NOT between 6.19 and 7.0 inclusive
- Verify NVMe/TCP usage: grep -i nvmet_tcp /proc/modules — if output is empty, the vulnerable subsystem is not loaded
- Check if data digest is enabled: cat /sys/kernel/debug/nvmet_tcp/*/dgst_en 2>/dev/null — if no results or values are 0, digest validation is disabled and risk is lower
- Review kernel error logs for UAF indicators: journalctl -u kernel | grep -E '(use-after-free|UAF|refcount_t overflow|BUG: unable to handle page fault)' — look for errors correlating with NVMe/TCP operations
FAQ
What is CVE-2026-64535?
This is a use-after-free vulnerability in the Linux kernel's NVMe/TCP subsystem where a digest mismatch error handler improperly decrements a submission queue reference counter without marking the command complete, leading to a double-decrement when the queue tears down and re-checks the same command.
Is CVE-2026-64535 being actively exploited?
No. This vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog, and no public exploits are available. However, the critical CVSS score of 9.8 warrants prioritized patching.
What versions of Kernel are affected by CVE-2026-64535?
Linux kernel versions 6.19 through 7.0 are vulnerable. Version 7.1 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-64535?
Run uname -r to get your kernel version. If the output is 6.19 through 7.0, your system is vulnerable. Cross-check that NVMe/TCP is in use with: grep nvmet_tcp /proc/modules.
Does Defensia detect CVE-2026-64535?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-64535 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- 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
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64535. Free for 1 server.
Get started free