CVE-2026-74385: nvmet-tcp: check return value of nvmet_tcp_set_queue_sock
In the Linux kernel, the following vulnerability has been resolved:
nvmet-tcp: check return value of nvmettcpsetqueuesock
The return value of nvmettcpsetqueuesock() is currently ignored in nvmettcptlshandshakedone(). If it fails (e.g., due to the socket not being in TCPESTABLISHED state), the socket callbacks will not be properly set, leading to queue and socket leakage.
Fix this by capturing the return value and calling nvmettcpschedulereleasequeue() on failure to ensure proper cleanup.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-aws-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1014.14~24.04.1 - Upgrade
Upgrade
ubuntu/linux-azure-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17~24.04.1 - Upgrade
Upgrade
ubuntu/linux-azure-fde-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1016.16~24.04.1 - Upgrade
Upgrade
ubuntu/linux-gcp-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1014.14~24.04.1 - Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-38.38~24.04.4 - Upgrade
Upgrade
ubuntu/linux-nvidia-tegrato a version that resolves this vulnerability.Fixed in 6.8.0-1036.39 - Upgrade
Upgrade
ubuntu/linux-oracle-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1013.13~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-38.38 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1014.14 - Upgrade
Upgrade
ubuntu/linux-azureto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-azure-fdeto a version that resolves this vulnerability.Fixed in 7.0.0-1016.16 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1014.14 - Upgrade
Upgrade
ubuntu/linux-gketo a version that resolves this vulnerability.Fixed in 7.0.0-1008.9 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1015.15 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1015.15 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1013.13 - Upgrade
Upgrade
ubuntu/linux-realtimeto a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1 - Compensating control
In nvmet_tcp_tls_handshake_done(), capture the return value of nvmet_tcp_set_queue_sock() and call nvmet_tcp_schedule_release_queue() when it fails, ensuring proper cleanup of the queue and socket.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-74385?
CVE-2026-74385 has a risk rating of 23, indicating it poses a significant security concern.
What does CVE-2026-74385 affect?
CVE-2026-74385 affects the Linux kernel's nvmet-tcp component due to an issue with handling socket return values.
How do I fix CVE-2026-74385?
To fix CVE-2026-74385, you should update to the latest version of the Linux kernel that includes the relevant security patch.
What types of attacks are possible due to CVE-2026-74385?
CVE-2026-74385 could potentially allow attackers to exploit the socket state check, leading to denial of service or data breaches.
When was CVE-2026-74385 published?
CVE-2026-74385 was published on August 15, 2026.