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.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies in the NVMe target module nvmet of the Linux kernel, where the function nvmet_sq_create() increments a controller reference count with kref_get_unless_zero() but fails to release it when nvmet_check_sqid() rejects an invalid queue ID, resulting in a reference count leak. Over time, repeated failures can consume kernel memory, degrade system stability, or trigger a denial‑of‑service. The flaw is classified under CWE‑911 and carries a CVSS score of 5.5, indicating a medium severity conflict.

Affected Systems

Any Linux kernel installation that has not yet incorporated commits 26355295, 34b9a83, and fcef60ed to nvmet is affected. This includes all distributions shipping a kernel older than those commits regardless of vendor. Users running an unpatched kernel expose the NVMe target subsystem to the risk.

Risk and Exploitability

The EPSS score is less than 1% and the vulnerability is not listed in the CISA KEV catalog. An attacker would need local or privileged access that allows interaction with the NVMe target to repeatedly trigger the failing queue‑creation path and accelerate the leak. While the likelihood of exploitation is low in the wild, the potential impact is the gradual exhaustion of kernel memory leading to service disruption.

Generated by OpenCVE AI on August 18, 2026 at 06:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Install a kernel version that contains the nvmet reference‑count fix (commits 26355295, 34b9a83, fcef60ed).
  • Reboot or reload the kernel so that the updated nvmet module is active.
  • If the NVMe target service is not required, unload or disable the nvmet module to eliminate the vulnerability surface.

Generated by OpenCVE AI on August 18, 2026 at 06:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 03:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399

Tue, 18 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sat, 15 Aug 2026 09:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
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.
Title nvmet: fix refcount leak in nvmet_sq_create()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:08:44.496Z

Reserved: 2026-08-09T03:40:39.907Z

Link: CVE-2026-72128

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:30.217

Modified: 2026-08-17T06:18:12.447

Link: CVE-2026-72128

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72128 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T06:45:07Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count