Junglewise Threat Intelligence

CVE-2026-64534: Linux Kernel refcount underflow in nvmet-tcp digest error path

CVE-2026-64534 · Severity: info · CVSS 0 · Published 2026-07-27

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's NVMe-over-TCP (nvmet-tcp) component could allow a remote attacker to cause a system crash or a permanent service deadlock. The issue occurs when the system incorrectly handles network data errors, leading to internal memory management failures. This can result in a 'use-after-free' condition, potentially destabilizing the server and requiring a reboot to restore operations.

Technical details

A reference count underflow vulnerability exists in the Linux kernel's NVMe-over-TCP (nvmet-tcp) target driver within the `nvmet_tcp_try_recv_ddgst()` function. When a data digest mismatch occurs on a command that previously failed initialization (via `nvmet_tcp_handle_req_failure`), the driver unconditionally calls `nvmet_req_uninit()`. Because `percpu_ref_tryget_live()` was never called for these failed commands, the subsequent `percpu_ref_put()` inside the uninit routine triggers a refcount underflow. This leads to a use-after-free condition and a permanent workqueue deadlock. The fix introduces a check for the `NVMET_TCP_F_INIT_FAILED` flag to ensure uninitialization only occurs when appropriate.

Affected products

  • Linux Linux Kernel 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97

Timeline

  • 2026-07-27: advisory: CVE-2026-64534 published by NVD
  • 2026-07-24: patched: Fix committed to Linux stable trees

References

Related threats