CVE-2026-72128

nvmet: fix refcount leak in nvmet_sq_create()

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

nvmet: fix refcount leak in nvmet_sq_create()

In nvmet_sq_create(), a reference on the ctrl is taken via kref_get_unless_zero() before calling nvmet_check_sqid(). If nvmet_check_sqid() fails, the function returns the error directly without releasing the reference, leading to a leak.

Fix this by jumping to the "ctrl_put" label, which already performs the necessary nvmet_ctrl_put(ctrl). This ensures the reference is properly released on this error path.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1eb380caf5275bba1d3d6182dde1fd740f331743 to before 26355295ce21cb046546085c3a81abe68160a784Affected
  • 1eb380caf5275bba1d3d6182dde1fd740f331743 to before fcef60ed5f714a24104eb021d6397a67955ebeffAffected
  • 1eb380caf5275bba1d3d6182dde1fd740f331743 to before 34b9a83c50660148bde01cde16451dbe78369749Affected
LinuxLinux
  • 6.14Affected
  • before 6.14Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 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.