CVE-2026-72128: nvmet: fix refcount leak in nvmet_sq_create()
In the Linux kernel, the following vulnerability has been resolved:
nvmet: fix refcount leak in nvmetsqcreate()
In nvmetsqcreate(), a reference on the ctrl is taken via krefgetunlesszero() before calling nvmetchecksqid(). If nvmetchecksqid() fails, the function returns the error directly without releasing the reference, leading to a leak.
Fix this by jumping to the "ctrlput" label, which already performs the necessary nvmetctrlput(ctrl). This ensures the reference is properly released on this error path.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-aws-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1014.14~24.04.1 - Upgrade
Upgrade
ubuntu/linux-azure-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17~24.04.1 - Upgrade
Upgrade
ubuntu/linux-azure-fde-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1016.16~24.04.1 - Upgrade
Upgrade
ubuntu/linux-gcp-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1014.14~24.04.1 - Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-38.38~24.04.4 - Upgrade
Upgrade
ubuntu/linux-nvidia-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1024.25~24.04.1 - Upgrade
Upgrade
ubuntu/linux-oracle-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1013.13~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-38.38 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1014.14 - Upgrade
Upgrade
ubuntu/linux-azureto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-azure-fdeto a version that resolves this vulnerability.Fixed in 7.0.0-1016.16 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1014.14 - Upgrade
Upgrade
ubuntu/linux-gketo a version that resolves this vulnerability.Fixed in 7.0.0-1008.9 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1015.15 - Upgrade
Upgrade
ubuntu/linux-nvidia-bosto a version that resolves this vulnerability.Fixed in 7.0.0-2022.23 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1015.15 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1013.13 - Upgrade
Upgrade
ubuntu/linux-realtimeto a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1 - Compensating control
In nvmet_sq_create(), when nvmet_check_sqid() fails, jump to the ctrl_put label so nvmet_ctrl_put(ctrl) releases the reference acquired via kref_get_unless_zero().
Event History
Frequently Asked Questions
What is the severity of CVE-2026-72128?
CVE-2026-72128 has a risk score of 12, indicating a high severity vulnerability.
How do I fix CVE-2026-72128?
To fix CVE-2026-72128, ensure you update your Linux kernel to the patched version released after August 15, 2026.
What does CVE-2026-72128 affect?
CVE-2026-72128 affects the nvmet subsystem in the Linux kernel that deals with NVMe over Fabrics.
What is the nature of the vulnerability in CVE-2026-72128?
CVE-2026-72128 is a reference count leak in the nvmet_sq_create() function within the Linux kernel.
What are the potential consequences of CVE-2026-72128?
The consequences of CVE-2026-72128 could lead to memory leaks, which may degrade system performance or cause instability.