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.

Affected products

VendorProductVersions
LinuxLinux1eb380caf5275bba1d3d6182dde1fd740f331743 to <26355295ce21cb046546085c3a81abe68160a784; 1eb380caf5275bba1d3d6182dde1fd740f331743 to <fcef60ed5f714a24104eb021d6397a67955ebeff; 1eb380caf5275bba1d3d6182dde1fd740f331743 to <34b9a83c50660148bde01cde16451dbe78369749
LinuxLinux6.14; 0 to <6.14; 6.18.40 to <=6.18.*; 7.1.5 to <=7.1.*; 7.2-rc1 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 15 Aug 2026 07:05 UTC.