CVE-2026-139151

nvmet-rdma: disable interrupts under rsp_wr_wait_lock

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

nvmet-rdma: disable interrupts under rsp_wr_wait_lock

rsp_wr_wait_lock protects the list of commands waiting for room in the
send queue, and it's taken with plain spin_lock(). But
nvmet_rdma_queue_response() calls nvmet_rdma_release_rsp() directly if
ib_post_send() fails, and that processes the wait list. The call chain
starts in nvmet_req_complete(), which for a block device namespace runs
from the bio end_io callback, which can be in hard interrupt context.
An interrupt that completes a command on a CPU holding the lock for the
same queue spins forever. Lockdep over siw with a null_blk namespace:

inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage

Use spin_lock_irqsave() for both takers. The processing loop still
drops the lock, and restores the caller's interrupt state, around
nvmet_rdma_execute_command().

Analysis

AI-generated

Technical impact

The Linux kernel bug in nvmet‑rdma disables interrupts while holding rsp_wr_wait_lock, causing the kernel to spin forever if an interrupt handling path re‑enters the lock. This concurrency flaw can lead to a kernel deadlock that manifests as a system hang, effectively denying service. It is a classic synchronization error (CWE‑184).

Affected Systems

The flaw exists in all Linux kernel builds that include the nvmet RDMA subsystem. No specific version list was supplied, but any kernel that has not applied the commit replacing spin_lock() with spin_lock_irqsave() in nvmet_rdma_queue_response is potentially affected.

Risk and Exploitability

The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited evidence of widespread exploitation. However, the bug can be triggered from user space by sending RDMA commands that exercise the send queue, making it a local denial‑of‑service vector under hostile user conditions. The severity is likely considerable because a kernel deadlock is critical to service continuity; but the lack of publicly reported exploitation means the practical risk is currently moderate.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the patch replacing spin_lock() with spin_lock_irqsave() in nvmet_rdma_queue_response and related calls.
  • If an immediate kernel update is not possible, disable NVMe over RDMA by unloading the “nvme_rdma” module or unbinding the RDMA device via sysfs to prevent driver paths from reaching the vulnerable code.
  • Continuously monitor kernel logs (e.g., dmesg) for lockdep warnings such as “inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage” and plan for urgent kernel upgrades when such messages appear.

Generated by OpenCVE AI on November 30, 2026 at 19:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-184
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nvmet-rdma: disable interrupts under rsp_wr_wait_lock rsp_wr_wait_lock protects the list of commands waiting for room in the send queue, and it's taken with plain spin_lock(). But nvmet_rdma_queue_response() calls nvmet_rdma_release_rsp() directly if ib_post_send() fails, and that processes the wait list. The call chain starts in nvmet_req_complete(), which for a block device namespace runs from the bio end_io callback, which can be in hard interrupt context. An interrupt that completes a command on a CPU holding the lock for the same queue spins forever. Lockdep over siw with a null_blk namespace: inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage Use spin_lock_irqsave() for both takers. The processing loop still drops the lock, and restores the caller's interrupt state, around nvmet_rdma_execute_command().
Title nvmet-rdma: disable interrupts under rsp_wr_wait_lock
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:32 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM