Linux nvmet-rdma spinlock deadlock when interrupt hits rsp_wr_wait_lock
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The nvmet-rdma driver in the Linux kernel takes rsp_wr_wait_lock with plain spin_lock(). When ib_post_send() fails, nvmet_rdma_queue_response() calls nvmet_rdma_release_rsp() directly, which processes the wait list. For a block device namespace, this path can run from a bio end_io callback in hard interrupt context. An interrupt that completes a command on a CPU already holding the lock for the same queue spins forever, and lockdep reported an inconsistent HARDIRQ-ON-W to IN-HARDIRQ-W usage with siw and a null_blk namespace.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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().
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.8 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 4.8 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 Patch available CNA
Remediation
Update the Linux kernel to one of the fixed releases: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, or 7.4-rc1. The fix uses spin_lock_irqsave() for both takers of rsp_wr_wait_lock.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139151
- 2026-11-30 Alias added: GHSA-77p5-32qj-4q68
References
Other 8
- https://git.kernel.org/stable/c/f1e56916c140dee03248a744e4990c9e5374e9b3
- https://git.kernel.org/stable/c/1fecac24f5e89cb93ae9991476c2fef3812987d0
- https://git.kernel.org/stable/c/4cdd627da94f90901c2208009b0e07d62010c4e8
- https://git.kernel.org/stable/c/a5f483eea879cbf62e371c9db65dcb487dc0ff5a
- https://git.kernel.org/stable/c/79328a8a24c604018562d246a55c6071eb99ca94
- https://git.kernel.org/stable/c/ab007be71a398a27e5bcf7117253391a99c3b333
- https://git.kernel.org/stable/c/b580abd990c0ed27ed1ee9ae9e7c3b99a1b3bd3b
- https://git.kernel.org/stable/c/14e4e09443ac2b5cd90c1e313ee3c0bdd4928e0d
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139151 · CVE Program
- CVE-2026-139151 · NVD
- GHSA-77p5-32qj-4q68 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences