---
id: CVE-2026-64321
title: 'nvme: target: rdma: fix ndev refcount leak on queue connect'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  nvme: target: rdma: fix ndev refcount leak on queue connect

  nvmet_rdma_queue_connect() calls nvmet_rdma_find_get_device() which
  acquires a reference on the returned nd…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 28877977bbc4f44dd3068b74ee781466c597a3b3 <
    204b9645536bb4a77a2cb35e6519dbf9f4ea1665
  - >-
    Linux >= bd3f40fdec552f9200e7b8521ef02b578c9ee8b0 <
    00eaa58988d35fd47ca8811f7f72871591f61ffb
  - >-
    Linux >= 85a79da286b65ae2238a22ac901a0039779e613e <
    712f3268a62d0df98a7ee991cba963ced2e58007
  - >-
    Linux >= 31deaeb11ba7a885116c9c30892b9f763c04d59c <
    d65fe42820b890a6a4644de0a95a812471f79ad3
  - >-
    Linux >= 31deaeb11ba7a885116c9c30892b9f763c04d59c <
    a8803c4f0ac3fa7df5551bbb5a8800c434a94357
  - >-
    Linux >= 31deaeb11ba7a885116c9c30892b9f763c04d59c <
    5828517d17eda27f21d29ea14800c9e0a57bad11
  - >-
    Linux >= 31deaeb11ba7a885116c9c30892b9f763c04d59c <
    badc53620fe813b3a9f727ef9526f98567c2c898
  - Linux 6.8
published: '2026-07-25'
updated: '2026-09-14'
sourceUpdated: '2026-09-14T11:58:38.599Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-64321'
references:
  - url: 'https://git.kernel.org/stable/c/204b9645536bb4a77a2cb35e6519dbf9f4ea1665'
  - url: 'https://git.kernel.org/stable/c/00eaa58988d35fd47ca8811f7f72871591f61ffb'
  - url: 'https://git.kernel.org/stable/c/712f3268a62d0df98a7ee991cba963ced2e58007'
  - url: 'https://git.kernel.org/stable/c/d65fe42820b890a6a4644de0a95a812471f79ad3'
  - url: 'https://git.kernel.org/stable/c/a8803c4f0ac3fa7df5551bbb5a8800c434a94357'
  - url: 'https://git.kernel.org/stable/c/5828517d17eda27f21d29ea14800c9e0a57bad11'
  - url: 'https://git.kernel.org/stable/c/badc53620fe813b3a9f727ef9526f98567c2c898'
tags:
  - cve.org
epss: 0.00123
epssPercentile: 0.02356
ingestedAt: '2026-09-14T15:23:07.457Z'
---

## Overview

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

nvme: target: rdma: fix ndev refcount leak on queue connect

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

- `Linux >= 28877977bbc4f44dd3068b74ee781466c597a3b3 < 204b9645536bb4a77a2cb35e6519dbf9f4ea1665`
- `Linux >= bd3f40fdec552f9200e7b8521ef02b578c9ee8b0 < 00eaa58988d35fd47ca8811f7f72871591f61ffb`
- `Linux >= 85a79da286b65ae2238a22ac901a0039779e613e < 712f3268a62d0df98a7ee991cba963ced2e58007`
- `Linux >= 31deaeb11ba7a885116c9c30892b9f763c04d59c < d65fe42820b890a6a4644de0a95a812471f79ad3`
- `Linux >= 31deaeb11ba7a885116c9c30892b9f763c04d59c < a8803c4f0ac3fa7df5551bbb5a8800c434a94357`
- `Linux >= 31deaeb11ba7a885116c9c30892b9f763c04d59c < 5828517d17eda27f21d29ea14800c9e0a57bad11`
- `Linux >= 31deaeb11ba7a885116c9c30892b9f763c04d59c < badc53620fe813b3a9f727ef9526f98567c2c898`
- `Linux 6.8`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
