In the Linux kernel, the following vulnerability has been resolved: nvmet-fc: Tear down the association when the admin queue allocation fails When the initial admin queue allocation fails after a new association was created, nvmet_fc_ls_create_association() only drops the association reference, which frees the association. By then the association is already on the target port's assoc_list, though, and removal from that list only happens in nvmet_fc_delete_target_assoc(), which this error path never calls. The freed association stays on the list, where later lookups and the port teardown can access it, and the target port reference taken at allocation time leaks. A remote host can trigger this reliably with a Create Association LS requesting a queue too large to allocate. Schedule the regular association teardown instead of dropping the reference directly. The teardown removes the association from the list and releases the target port reference before the final reference drop frees it.
https://git.kernel.org/stable/c/f5e4a58a9ff7a37b0324ff0f9136b88949adc6cd
https://git.kernel.org/stable/c/6c7de9561ef6e229456e7a9ba0b6964588372197
https://git.kernel.org/stable/c/5e4325c515dc5719d2dab3520327d1f04c661596
https://git.kernel.org/stable/c/468925371a236d82a483e8fb04e1a17a81ec5036
https://git.kernel.org/stable/c/1754fc977a3d4674a6bb875cfcfb4d0ff9009b54
https://git.kernel.org/stable/c/142aff2ead903d437650b938d9eb0c8c1a19e175
https://git.kernel.org/stable/c/11db8ab55e1a7533e9cfe57687ab142ba67d3c84