CVE-2026-139150
HIGH 8.1CVSS 3.1nvmet-rdma: fix double puts after a failed RDMA WRITE
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.
- Published
- 30 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CVE List | Linux | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= b09160c3996c11d62a08f9534c755103a10a89b4, < 04284e1aaa2644d0545b4da5796032b9bbaf3bf7; >= b09160c3996c11d62a08f9534c755103a10a89b4, < 8ad99847a4404d6511e9dc96d3424145594dc878; >= b09160c3996c11d62a08f9534c755103a10a89b4, < 96ef50841a6b1dd9aca7e6161306574c16f9dab7; >= b09160c3996c11d62a08f9534c755103a10a89b4, < 924393942038ea82073719ce999cc7272584f40e; >= b09160c3996c11d62a08f9534c755103a10a89b4, < 5355474f0cef789cf22236351cf18d09ffa46984; >= b09160c3996c11d62a08f9534c755103a10a89b4, < 7adbb35416225a013739854fc5014417a835b4ad; >= b09160c3996c11d62a08f9534c755103a10a89b4, < 79c4b29b0520d52010caf94bc7b1b44c3e9de6f1; >= b09160c3996c11d62a08f9534c755103a10a89b4, < f1dac2a2e75260d1466d9f03ccf0944d6d0449a4 | 04284e1aaa2644d0545b4da5796032b9bbaf3bf7, 8ad99847a4404d6511e9dc96d3424145594dc878, 96ef50841a6b1dd9aca7e6161306574c16f9dab7, 924393942038ea82073719ce999cc7272584f40e, 5355474f0cef789cf22236351cf18d09ffa46984, 7adbb35416225a013739854fc5014417a835b4ad, 79c4b29b0520d52010caf94bc7b1b44c3e9de6f1, f1dac2a2e75260d1466d9f03ccf0944d6d0449a4 |
| CVE List | Linux | Linux | = 5.8 |
References
- https://git.kernel.org/stable/c/04284e1aaa2644d0545b4da5796032b9bbaf3bf7
- https://git.kernel.org/stable/c/5355474f0cef789cf22236351cf18d09ffa46984
- https://git.kernel.org/stable/c/79c4b29b0520d52010caf94bc7b1b44c3e9de6f1
- https://git.kernel.org/stable/c/7adbb35416225a013739854fc5014417a835b4ad
- https://git.kernel.org/stable/c/8ad99847a4404d6511e9dc96d3424145594dc878
- https://git.kernel.org/stable/c/924393942038ea82073719ce999cc7272584f40e
- https://git.kernel.org/stable/c/96ef50841a6b1dd9aca7e6161306574c16f9dab7
- https://git.kernel.org/stable/c/f1dac2a2e75260d1466d9f03ccf0944d6d0449a4
History
- 1 Dec 2026 06:48 UTC · NVD: scored 8.1
- 1 Dec 2026 05:50 UTC · CVE List: scored 8.1
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)