CVE-2026-139150

nvmet-rdma: fix double puts after a failed RDMA WRITE

8.1 high EPSS 0.64%

Published 30 Nov 2026 Updated 1 Dec 2026 CNA: Linux

Check your servers for CVE-2026-139150

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139150 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Severity (CVSS)

8.1 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.64%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 51.8% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from b09160c3996c11d62a08f9534c755103a10a89b4, before 04284e1aaa2644d0545b4da5796032b9bbaf3bf7
affected from b09160c3996c11d62a08f9534c755103a10a89b4, before 8ad99847a4404d6511e9dc96d3424145594dc878
affected from b09160c3996c11d62a08f9534c755103a10a89b4, before 96ef50841a6b1dd9aca7e6161306574c16f9dab7
affected from b09160c3996c11d62a08f9534c755103a10a89b4, before 924393942038ea82073719ce999cc7272584f40e
affected from b09160c3996c11d62a08f9534c755103a10a89b4, before 5355474f0cef789cf22236351cf18d09ffa46984
affected from b09160c3996c11d62a08f9534c755103a10a89b4, before 7adbb35416225a013739854fc5014417a835b4ad
affected from b09160c3996c11d62a08f9534c755103a10a89b4, before 79c4b29b0520d52010caf94bc7b1b44c3e9de6f1
affected from b09160c3996c11d62a08f9534c755103a10a89b4, before f1dac2a2e75260d1466d9f03ccf0944d6d0449a4
Other versions: unaffected
Linux
affected 5.8
unaffected before 5.8
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.119 up to and including 6.12.*
unaffected from 6.18.65 up to and including 6.18.*
unaffected from 7.3.6 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139150 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139150

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-139150
trivy image --scanners vuln IMAGE | grep CVE-2026-139150

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-139150 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.