CVE-2026-99854: nvmet-fc: Tear down the association when the admin queue allocation fails
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, nvmetfclscreateassociation() only drops the association reference, which frees the association. By then the association is already on the target port's assoclist, though, and removal from that list only happens in nvmetfcdeletetargetassoc(), 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 4.15 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 4.20 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.5 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.11 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1 - Compensating control
In nvmet_fc_ls_create_association(), schedule the regular association teardown when initial admin queue allocation fails instead of dropping the association reference directly.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel NVMe over Fabrics Fibre Channel target functionality are exposed when they accept remote Create Association LS requests. The issue involves associations on a target port's association list.
What does an attacker need to do to trigger the flaw?
A remote host can reliably trigger it by sending a Create Association LS request that asks for an admin queue too large to allocate. The failed allocation occurs after a new association has already been added to the target port's association list.
What happens after successful triggering?
The freed association can remain on the target port's association list, allowing later lookups or target-port teardown to access freed memory. The target-port reference acquired during allocation also leaks.
Is there a documented workaround when the fix cannot be applied immediately?
No workaround is provided in the available data. Exposure depends on remote hosts being able to submit Create Association LS requests to the NVMe/FC target.