In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: check INIT_FAILED before nvmet_req_uninit in digest error path In… (CVE-2026-64534)
A critical vulnerability in the Linux kernel's nvmet-tcp subsystem involves improper handling of a data digest mismatch error. Specifically, the function nvmet_req_uninit() is called unconditionally even when initialization has failed, causing a reference count underflow. This leads to a warning, a use-after-free diagnostic, and can result in a permanent workqueue deadlock. The issue is addressed by checking the INIT_FAILED flag before calling nvmet_req_uninit(), aligning with existing error handling patterns.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's nvmet-tcp module arises from calling nvmet_req_uninit() without verifying if nvmet_req_init() succeeded. When a data digest mismatch occurs in nvmet_tcp_try_recv_ddgst(), nvmet_req_uninit() is called unconditionally. However, if the command failed initialization via nvmet_tcp_handle_req_failure(), the reference count was never incremented, causing a refcount underflow when nvmet_req_uninit() decrements it. This underflow triggers a WARNING in percpu_ref_switch_to_atomic_rcu, a use-after-free diagnostic, and can lead to a permanent deadlock in the workqueue. The fix involves checking the NVMET_TCP_F_INIT_FAILED flag before calling nvmet_req_uninit(), preventing the underflow and subsequent issues.
Potential Impact
The vulnerability can cause a reference count underflow leading to kernel warnings, use-after-free diagnostics, and ultimately a permanent deadlock in the kernel's workqueue. This impacts system stability and availability, potentially causing denial of service. Confidentiality and integrity impacts are rated high in the CVSS vector, indicating potential for serious compromise if exploited.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability description indicates that a code fix involves adding a check for the INIT_FAILED flag before calling nvmet_req_uninit(). Until an official patch or vendor advisory is available, users should monitor for updates from the Linux kernel maintainers and apply patches promptly once released.
In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: check INIT_FAILED before nvmet_req_uninit in digest error path In… (CVE-2026-64534)
Description
A critical vulnerability in the Linux kernel's nvmet-tcp subsystem involves improper handling of a data digest mismatch error. Specifically, the function nvmet_req_uninit() is called unconditionally even when initialization has failed, causing a reference count underflow. This leads to a warning, a use-after-free diagnostic, and can result in a permanent workqueue deadlock. The issue is addressed by checking the INIT_FAILED flag before calling nvmet_req_uninit(), aligning with existing error handling patterns.
CVSS v3.1
Score 9.8critical
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's nvmet-tcp module arises from calling nvmet_req_uninit() without verifying if nvmet_req_init() succeeded. When a data digest mismatch occurs in nvmet_tcp_try_recv_ddgst(), nvmet_req_uninit() is called unconditionally. However, if the command failed initialization via nvmet_tcp_handle_req_failure(), the reference count was never incremented, causing a refcount underflow when nvmet_req_uninit() decrements it. This underflow triggers a WARNING in percpu_ref_switch_to_atomic_rcu, a use-after-free diagnostic, and can lead to a permanent deadlock in the workqueue. The fix involves checking the NVMET_TCP_F_INIT_FAILED flag before calling nvmet_req_uninit(), preventing the underflow and subsequent issues.
Potential Impact
The vulnerability can cause a reference count underflow leading to kernel warnings, use-after-free diagnostics, and ultimately a permanent deadlock in the kernel's workqueue. This impacts system stability and availability, potentially causing denial of service. Confidentiality and integrity impacts are rated high in the CVSS vector, indicating potential for serious compromise if exploited.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability description indicates that a code fix involves adding a check for the INIT_FAILED flag before calling nvmet_req_uninit(). Until an official patch or vendor advisory is available, users should monitor for updates from the Linux kernel maintainers and apply patches promptly once released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-6vg3-7hp6-mqc5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64534"]
- Ecosystems
- []
- Database Specific Severity
- CRITICAL
- Cvss Version
- 3.1
Threat ID: 6a6b72d09c2644c7f8476da1
Added to database: 07/30/2026, 15:50:40 UTC
Last enriched: 07/30/2026, 19:23:59 UTC
Last updated: 07/31/2026, 20:17:47 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.