# CVE-2026-139150

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139150/
- Yayımlanma: 2026-11-30T17:18:32+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139150)
