1. Archivio CVE
  2. 2026
  3. CVE-2026-139150

CVE-2026-139150

8.1 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H 8.1 – Alta

Descrizione

In the Linux kernel, the following vulnerability has been resolved: nvmet-rdma: fix double puts after a failed RDMA WRITE For a read with T10-PI the RDMA WRITE is posted alone and nvmet_rdma_write_data_done() posts the SEND once the metadata check result is known. By then the request has been completed and its references put: __nvmet_req_complete() put ns->ref and the pc_ref, and nvmet_req_complete() sq->ref, right after queuing the response. The error branch of nvmet_rdma_write_data_done() copies the one from nvmet_rdma_read_data_done() and calls nvmet_req_uninit(), which puts all three again. A WRITE fails whenever the connection ends with reads in flight, which is up to the host. Depending on timing the sq->ref count goes to zero early and the queue is freed under the remaining completions, or never reaches zero and nvmet_sq_destroy() sleeps forever, or percpu_ref_put() dereferences NULL after percpu_ref_exit(). ns->ref stays too low for good, so disabling the namespace hangs too. Reproduced with KASAN over rxe with a test patch forcing the PI path. Drop the nvmet_req_uninit(). The branch still releases the RDMA context and the response, which is all the request owns at that point.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 5.8 < 5.10.275 –
linux linux kernel >= 5.8 < 5.15.226 –
linux linux kernel >= 5.8 < 6.1.193 –
linux linux kernel >= 5.8 < 6.6.163 –
linux linux kernel >= 5.8 < 6.12.119 –
linux linux kernel >= 5.8 < 6.18.65 –
linux linux kernel >= 5.8 < 7.3.6 –
linux linux kernel >= 5.8 < 7.4-rc1 –
Tutte le 24.148 vulnerabilità di Linux Kernel