In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: limit the connections accepted per work run nvmet_tcp_accept_work() loops until there's nothing left to accept, and anyone opening and closing connections fast enough keeps it running indefinitely, since tearing down a dead connection takes long enough for more to arrive. Whoever flushes nvmet_wq waits for it: removing any other port of the target does in nvmet_port_release(), and so does unloading the rdma and fc modules. Accept a bounded number of connections per run and requeue the work. A flush doesn't wait for work queued behind it.
https://git.kernel.org/stable/c/a029f1b2fb13e6ac6e1c2f27fba1d80b6e7cac51
https://git.kernel.org/stable/c/7e5d82109891bef938da04b59229f18e2a910250
https://git.kernel.org/stable/c/4dda165b2d464b705d55db0c661b4f8d39fe4031
https://git.kernel.org/stable/c/1f9b5f3a4c149a0075e7aa047ffbdbf1a14ba91f
https://git.kernel.org/stable/c/01d715f6eec645265751d6174b0c6344a85b9ae8