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.

Affected products

VendorProductVersions
LinuxLinux675b453e024154dd547921c6e6d5b58747ba7e0e to <cba2ee57fd302727aea7d41e9d9cd0969f5df0fb; 675b453e024154dd547921c6e6d5b58747ba7e0e to <22aa70f9a0544643ec37d442b6fcb1833d804462; 675b453e024154dd547921c6e6d5b58747ba7e0e to <7ef789703e2b91775dcb36b2efa46325be31a2a0
LinuxLinux6.7; 0 to <6.7; 6.18.40 to <=6.18.*; 7.1.5 to <=7.1.*; 7.2-rc1 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 15 Aug 2026 07:05 UTC.