nvme: target: rdma: fix ndev refcount leak on queue connect
3Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackepss 0.1%
probabilidade de exploração
0.1%top 98% das CVEs
exploração observada
nãonenhuma fonte reporta
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.
Produtos afetados
Linux · LinuxReferências
https://git.kernel.org/stable/c/00eaa58988d35fd47ca8811f7f72871591f61ffbhttps://git.kernel.org/stable/c/204b9645536bb4a77a2cb35e6519dbf9f4ea1665https://git.kernel.org/stable/c/5828517d17eda27f21d29ea14800c9e0a57bad11https://git.kernel.org/stable/c/712f3268a62d0df98a7ee991cba963ced2e58007https://git.kernel.org/stable/c/a8803c4f0ac3fa7df5551bbb5a8800c434a94357https://git.kernel.org/stable/c/badc53620fe813b3a9f727ef9526f98567c2c898https://git.kernel.org/stable/c/d65fe42820b890a6a4644de0a95a812471f79ad3