CVE-2026-23261

nvme-fc: release admin tagset if init fails

State
Published
Severity
Not scored
Published
Mar 18, 2026
Updated
May 23, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5fe335a80548e2eda5d51fab801108b323600e95 to before 7c54d3f5ebbc5982daaa004260242dc07ac943eaAffected
  • 17c3a66d7ea2d303f783796d62f99e2e23b68c90 to before fa301aef50e3f3b5be6ee53457608beae5aa7a01Affected
  • ea3442efabd0aa3930c5bab73c3901ef38ef6ac3 to before e810b290922c535feb34bc90ab549446fe94d2a3Affected
  • ea3442efabd0aa3930c5bab73c3901ef38ef6ac3 to before d1877cc7270302081a315a81a0ee8331f19f95c8Affected
  • 0d1840b2dd8fe073c020c39bf8e8e89488070801Affected
  • 6.6.118 to before 6.6.124Affected
  • 6.12.60 to before 6.12.70Affected
  • 6.17.10 to before 6.18Affected
LinuxLinux
  • 6.18Affected
  • before 6.18Not affected
  • 6.6.124 through 6.6.*Not affected
  • 6.12.70 through 6.12.*Not affected
  • 6.18.10 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.