In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: ask for the TLS record type on every receive nvmet_tcp_alloc_cmd() points recv_msg.msg_control at recv_cbuf once. The first receive that stores a record type there advances msg_control and leaves msg_controllen at 0 for the lifetime of the command. From then on nvmet_tcp_try_recv_data() sees the record type of that first receive: if it was an alert, all later data is dropped as alerts and the queue stalls, if it was data, a later alert can't be reported and tls_sw_recvmsg() fails with -EIO. Set up the control buffer before each receive, like the other receive paths do.
https://git.kernel.org/stable/c/d1dc307c7e98a0111bf26c947319e32a9e8cb146
https://git.kernel.org/stable/c/77f72de389e3774dc95d7cd03a98a73e47013abd
https://git.kernel.org/stable/c/5da2134d6d82518a68d8682d697cf00a021afc05
https://git.kernel.org/stable/c/31bc1461961ceb4a3df33a7560cf4a2c77e9d1ff