CVE-2026-139151: nvmet-rdma: disable interrupts under rsp_wr_wait_lock
In the Linux kernel, the following vulnerability has been resolved:
nvmet-rdma: disable interrupts under rspwrwaitlock
rspwrwaitlock protects the list of commands waiting for room in the send queue, and it's taken with plain spinlock(). But nvmetrdmaqueueresponse() calls nvmetrdmareleasersp() directly if ibpostsend() fails, and that processes the wait list. The call chain starts in nvmetreqcomplete(), which for a block device namespace runs from the bio endio 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 nullblk namespace:
inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage
Use spinlockirqsave() for both takers. The processing loop still drops the lock, and restores the caller's interrupt state, around nvmetrdmaexecutecommand().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Use spin_lock_irqsave() for both takers of rsp_wr_wait_lock so interrupts are disabled while the lock is held.
Linux kernel nvmet-rdma rsp_wr_wait_lock acquisition = spin_lock_irqsave()