All reports
Medium

kernel: nvmet-tcp: check return value of nvmet_tcp_set_queue_sock

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-74385

Probability of exploitation in the next 30 days: 0.44%

FIRST EPSS · 2026-11-23

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.

A flaw was found in the nvmet-tcp component of the Linux kernel. This vulnerability arises from ignoring the return value of a function during the TLS handshake, specifically when the network socket is not in an established state. This oversight prevents proper cleanup, leading to the leakage of queues and sockets. An attacker could potentially exploit this issue to cause resource exhaustion, resulting in a Denial of Service (DoS).