{"id":"CVE-2026-139150","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:18:32.910","lastModified":"2026-12-01T06:17:37.710","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-rdma: fix double puts after a failed RDMA WRITE\n\nFor a read with T10-PI the RDMA WRITE is posted alone and\nnvmet_rdma_write_data_done() posts the SEND once the metadata check\nresult is known. By then the request has been completed and its\nreferences put: __nvmet_req_complete() put ns->ref and the pc_ref, and\nnvmet_req_complete() sq->ref, right after queuing the response. The\nerror branch of nvmet_rdma_write_data_done() copies the one from\nnvmet_rdma_read_data_done() and calls nvmet_req_uninit(), which puts\nall three again. A WRITE fails whenever the connection ends with reads\nin flight, which is up to the host. Depending on timing the sq->ref\ncount goes to zero early and the queue is freed under the remaining\ncompletions, or never reaches zero and nvmet_sq_destroy() sleeps\nforever, or percpu_ref_put() dereferences NULL after percpu_ref_exit().\nns->ref stays too low for good, so disabling the namespace hangs too.\nReproduced with KASAN over rxe with a test patch forcing the PI path.\n\nDrop the nvmet_req_uninit(). The branch still releases the RDMA context\nand the response, which is all the request owns at that point."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/nvme/target/rdma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"b09160c3996c11d62a08f9534c755103a10a89b4","lessThan":"04284e1aaa2644d0545b4da5796032b9bbaf3bf7","versionType":"git","status":"affected"},{"version":"b09160c3996c11d62a08f9534c755103a10a89b4","lessThan":"8ad99847a4404d6511e9dc96d3424145594dc878","versionType":"git","status":"affected"},{"version":"b09160c3996c11d62a08f9534c755103a10a89b4","lessThan":"96ef50841a6b1dd9aca7e6161306574c16f9dab7","versionType":"git","status":"affected"},{"version":"b09160c3996c11d62a08f9534c755103a10a89b4","lessThan":"924393942038ea82073719ce999cc7272584f40e","versionType":"git","status":"affected"},{"version":"b09160c3996c11d62a08f9534c755103a10a89b4","lessThan":"5355474f0cef789cf22236351cf18d09ffa46984","versionType":"git","status":"affected"},{"version":"b09160c3996c11d62a08f9534c755103a10a89b4","lessThan":"7adbb35416225a013739854fc5014417a835b4ad","versionType":"git","status":"affected"},{"version":"b09160c3996c11d62a08f9534c755103a10a89b4","lessThan":"79c4b29b0520d52010caf94bc7b1b44c3e9de6f1","versionType":"git","status":"affected"},{"version":"b09160c3996c11d62a08f9534c755103a10a89b4","lessThan":"f1dac2a2e75260d1466d9f03ccf0944d6d0449a4","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/nvme/target/rdma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.8","status":"affected"},{"version":"0","lessThan":"5.8","versionType":"semver","status":"unaffected"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/04284e1aaa2644d0545b4da5796032b9bbaf3bf7","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5355474f0cef789cf22236351cf18d09ffa46984","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/79c4b29b0520d52010caf94bc7b1b44c3e9de6f1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7adbb35416225a013739854fc5014417a835b4ad","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8ad99847a4404d6511e9dc96d3424145594dc878","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/924393942038ea82073719ce999cc7272584f40e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/96ef50841a6b1dd9aca7e6161306574c16f9dab7","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f1dac2a2e75260d1466d9f03ccf0944d6d0449a4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}