nvme: target: rdma: fix ndev refcount leak on queue connect
Published Jul 25, 2026
5.5
MEDIUMCVSS 3.1
EPSS 0.12%
Description
nvmet_rdma_queue_connect() calls nvmet_rdma_find_get_device() which acquires a reference on the returned ndev via kref_get(). On the path where the host queue backlog is exceeded and the function returns NVME_SC_CONNECT_CTRL_BUSY, reference of ndev is not released, leaking the kref.
Fix this by adding a goto to the existing put_device label before the early return.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 6.8StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<6.8
- Version 6.12.96StatusunaffectedConstraints<=6.12.*
- Version 6.18.39StatusunaffectedConstraints<=6.18.*
- Version 7.1.4StatusunaffectedConstraints<=7.1.*
- Version 7.2StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| ||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 6.8 · < 6.12.96
- ≥ 6.13 · < 6.18.39
- ≥ 6.19 · < 7.1.4
No data.
Red Hat Enterprise Linux 10
kernel
Fix deferred
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Fix deferred
Red Hat Enterprise Linux 9
kernel-rt
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 4, 2026.
Score over time
Jul-Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed. Showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 4, 2026 | 0.12% (0.00123) | 1.78th | v5 (v2026.06.15) |
| Jul 25, 2026 | 0.21% (0.00209) | 11.17th | v5 (v2026.06.15) |
References (12)
- https://access.redhat.com/security/cve/CVE-2026-64321 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2507299 Issue Tracking
- https://git.kernel.org/stable/c/00eaa58988d35fd47ca8811f7f72871591f61ffb
- https://git.kernel.org/stable/c/204b9645536bb4a77a2cb35e6519dbf9f4ea1665
- https://git.kernel.org/stable/c/5828517d17eda27f21d29ea14800c9e0a57bad11 Patch
- https://git.kernel.org/stable/c/712f3268a62d0df98a7ee991cba963ced2e58007
- https://git.kernel.org/stable/c/a8803c4f0ac3fa7df5551bbb5a8800c434a94357 Patch
- https://git.kernel.org/stable/c/badc53620fe813b3a9f727ef9526f98567c2c898 Patch
- https://git.kernel.org/stable/c/d65fe42820b890a6a4644de0a95a812471f79ad3 Patch
- https://lore.kernel.org/linux-cve-announce/2026072511-CVE-2026-64321-4f63@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2026-64321
- https://www.cve.org/CVERecord?id=CVE-2026-64321
Change history (0)
No recorded changes yet.