Skip to content

Linux kernel

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

CVE-2026-139150Published 30 Nov 2026, 13:32 UTC

Real-world risk

3.8/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

8.1

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from Linux)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Linux kernelUbiquitous= 5.87.4-rc1

What to do

Update to a fixed version: 7.4-rc1.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.6% chance of exploitation in 30 days (percentile 52), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.450
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.45 × threat 0.853.825
  4. Rounded to one decimal between 0.1 and 103.8

How the score works

Exploitation and evidence timeline

  1. 30 Nov 2026 Published
  2. 3 Dec 2026 Risk 3.8 (cvss fallback)

Weakness

No weakness type given.

References

Get alerts for Linux kernel

Free email or text alerts when a vulnerability in Linux kernel reaches risk 8 or higher. Nothing else.