{"id":"CVE-2026-23261","summary":"nvme-fc: release admin tagset if init fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-fc: release admin tagset if init fails\n\nnvme_fabrics creates an NVMe/FC controller in following path:\n\n    nvmf_dev_write()\n      -\u003e nvmf_create_ctrl()\n        -\u003e nvme_fc_create_ctrl()\n          -\u003e nvme_fc_init_ctrl()\n\nnvme_fc_init_ctrl() allocates the admin blk-mq resources right after\nnvme_add_ctrl() succeeds.  If any of the subsequent steps fail (changing\nthe controller state, scheduling connect work, etc.), we jump to the\nfail_ctrl path, which tears down the controller references but never\nfrees the admin queue/tag set.  The leaked blk-mq allocations match the\nkmemleak report seen during blktests nvme/fc.\n\nCheck ctrl-\u003ectrl.admin_tagset in the fail_ctrl path and call\nnvme_remove_admin_tag_set() when it is set so that all admin queue\nallocations are reclaimed whenever controller setup aborts.","modified":"2026-04-02T13:12:19.394417Z","published":"2026-03-18T17:41:07.478Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23261.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/7c54d3f5ebbc5982daaa004260242dc07ac943ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1877cc7270302081a315a81a0ee8331f19f95c8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e810b290922c535feb34bc90ab549446fe94d2a3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fa301aef50e3f3b5be6ee53457608beae5aa7a01"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23261.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23261"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5fe335a80548e2eda5d51fab801108b323600e95"},{"fixed":"7c54d3f5ebbc5982daaa004260242dc07ac943ea"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"17c3a66d7ea2d303f783796d62f99e2e23b68c90"},{"fixed":"fa301aef50e3f3b5be6ee53457608beae5aa7a01"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ea3442efabd0aa3930c5bab73c3901ef38ef6ac3"},{"fixed":"e810b290922c535feb34bc90ab549446fe94d2a3"},{"fixed":"d1877cc7270302081a315a81a0ee8331f19f95c8"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"0d1840b2dd8fe073c020c39bf8e8e89488070801"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23261.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.6.124"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.70"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23261.json"}}],"schema_version":"1.7.5"}