Descrizione
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.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
6.8precedenti alla6.12.96→ aggiornare alla6.12.96o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.39→ aggiornare alla6.18.39o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.1.4→ aggiornare alla7.1.4o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/5828517d17eda27f21d29ea1480…
- Patch: git.kernel.org/stable/c/a8803c4f0ac3fa7df5551bbb5a8…
- Patch: git.kernel.org/stable/c/badc53620fe813b3a9f727ef952…
- Patch: git.kernel.org/stable/c/d65fe42820b890a6a4644de0a95…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Linux | Linux Kernel | ≥ 6.8 < 6.12.96 | 6.12.96 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.39 | 6.18.39 |
| Linux | Linux Kernel | ≥ 6.19 < 7.1.4 | 7.1.4 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/5828517d17eda27f21d29ea14800c9e0a57bad11
- Patchhttps://git.kernel.org/stable/c/a8803c4f0ac3fa7df5551bbb5a8800c434a94357
- Patchhttps://git.kernel.org/stable/c/badc53620fe813b3a9f727ef9526f98567c2c898
- Patchhttps://git.kernel.org/stable/c/d65fe42820b890a6a4644de0a95a812471f79ad3
- Riferimentohttps://git.kernel.org/stable/c/00eaa58988d35fd47ca8811f7f72871591f61ffb
- Riferimentohttps://git.kernel.org/stable/c/204b9645536bb4a77a2cb35e6519dbf9f4ea1665
- Riferimentohttps://git.kernel.org/stable/c/712f3268a62d0df98a7ee991cba963ced2e58007