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

nvmet-tcp: check return value of nvmet_tcp_set_queue_sock

The return value of nvmet_tcp_set_queue_sock() is currently ignored in
nvmet_tcp_tls_handshake_done(). If it fails (e.g., due to the socket
not being in TCP_ESTABLISHED state), the socket callbacks will not be
properly set, leading to queue and socket leakage.

Fix this by capturing the return value and calling
nvmet_tcp_schedule_release_queue() on failure to ensure proper cleanup.
Published: 2026-08-15
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the function nvmet_tcp_set_queue_sock() is called during an NVMe‑over‑TCP TLS handshake. The code currently ignores its return value. If the call fails—for example, when the socket has not reached the TCP_ESTABLISHED state, the subsequent socket callbacks are never installed, and the queue and socket objects are leaked. This unchecked failure can lead to a gradual depletion of kernel queue structures and TCP sockets.

Affected Systems

The vulnerability affects the Linux kernel overall, as indicated by the Vendor: Linux and the CPE string for the Linux kernel. No specific kernel release is listed; therefore any kernel that includes the unpatched nvmet‑tcp implementation is potentially affected. Administrators should verify whether their kernel version contains the commit that introduced the check.

Risk and Exploitability

The CVSS score is 7.5 and the EPSS score is < 1%, but the vulnerability can result in resource exhaustion and a denial‑of‑service condition if an attacker can repeatedly initiate NVMe‑over‑TCP connections that trigger the faulty handshake. Based on the description, it is inferred that the attacker would need network access to the NVMe target or a privileged local user that can trigger the handshake, making the attack vector likely network‑based. The vulnerability is not listed in CISA's KEV catalog at present, so no known exploits have been reported yet.

Generated by OpenCVE AI on August 21, 2026 at 23:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains the nvmet‑tcp patch which checks the return value and frees resources on failure.
  • If a kernel update is not possible, disable the NVMe‑TCP transport or unload the nvmet module until an update can be applied.
  • Apply firewall rules to limit external access to the NVMe‑TCP port or use TLS to restrict who can initiate connections, mitigating potential exploitation until a patch is available.

Generated by OpenCVE AI on August 21, 2026 at 23:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 14:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Mon, 17 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-252

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Sat, 15 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-252

Sat, 15 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: check return value of nvmet_tcp_set_queue_sock The return value of nvmet_tcp_set_queue_sock() is currently ignored in nvmet_tcp_tls_handshake_done(). If it fails (e.g., due to the socket not being in TCP_ESTABLISHED state), the socket callbacks will not be properly set, leading to queue and socket leakage. Fix this by capturing the return value and calling nvmet_tcp_schedule_release_queue() on failure to ensure proper cleanup.
Title nvmet-tcp: check return value of nvmet_tcp_set_queue_sock
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:46:35.426Z

Reserved: 2026-08-15T05:44:03.890Z

Link: CVE-2026-74385

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:40.420

Modified: 2026-08-17T06:19:33.460

Link: CVE-2026-74385

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74385 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T23:45:03Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime