nvme-fc: release admin tagset if init fails
Summary
| CVE | CVE-2026-23261 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-18 18:16:24 UTC |
| Updated | 2026-03-19 17:16:22 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: nvme-fc: release admin tagset if init fails nvme_fabrics creates an NVMe/FC controller in following path: nvmf_dev_write() -> nvmf_create_ctrl() -> nvme_fc_create_ctrl() -> nvme_fc_init_ctrl() nvme_fc_init_ctrl() allocates the admin blk-mq resources right after nvme_add_ctrl() succeeds. If any of the subsequent steps fail (changing the controller state, scheduling connect work, etc.), we jump to the fail_ctrl path, which tears down the controller references but never frees the admin queue/tag set. The leaked blk-mq allocations match the kmemleak report seen during blktests nvme/fc. Check ctrl->ctrl.admin_tagset in the fail_ctrl path and call nvme_remove_admin_tag_set() when it is set so that all admin queue allocations are reclaimed whenever controller setup aborts. |
Risk And Classification
EPSS: 0.000170000 probability, percentile 0.045840000 (date 2026-05-28)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 5fe335a80548e2eda5d51fab801108b323600e95 7c54d3f5ebbc5982daaa004260242dc07ac943ea git | Not specified |
| CNA | Linux | Linux | affected 17c3a66d7ea2d303f783796d62f99e2e23b68c90 fa301aef50e3f3b5be6ee53457608beae5aa7a01 git | Not specified |
| CNA | Linux | Linux | affected ea3442efabd0aa3930c5bab73c3901ef38ef6ac3 e810b290922c535feb34bc90ab549446fe94d2a3 git | Not specified |
| CNA | Linux | Linux | affected ea3442efabd0aa3930c5bab73c3901ef38ef6ac3 d1877cc7270302081a315a81a0ee8331f19f95c8 git | Not specified |
| CNA | Linux | Linux | affected 0d1840b2dd8fe073c020c39bf8e8e89488070801 git | Not specified |
| CNA | Linux | Linux | affected 6.18 | Not specified |
| CNA | Linux | Linux | unaffected 6.18 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.124 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.70 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.10 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/fa301aef50e3f3b5be6ee53457608beae5aa7a01 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/d1877cc7270302081a315a81a0ee8331f19f95c8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/7c54d3f5ebbc5982daaa004260242dc07ac943ea | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e810b290922c535feb34bc90ab549446fe94d2a3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.