nvmet-rdma: disable interrupts under rsp_wr_wait_lock
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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().
| Product | Versions |
|---|---|
| Linux Linux | 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to before f1e56916c140dee03248a744e4990c9e5374e9b3 Affected8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to before 1fecac24f5e89cb93ae9991476c2fef3812987d0 Affected8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to before 4cdd627da94f90901c2208009b0e07d62010c4e8 Affected8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to before a5f483eea879cbf62e371c9db65dcb487dc0ff5a Affected8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to before 79328a8a24c604018562d246a55c6071eb99ca94 Affected8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to before ab007be71a398a27e5bcf7117253391a99c3b333 Affected8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to before b580abd990c0ed27ed1ee9ae9e7c3b99a1b3bd3b Affected8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to before 14e4e09443ac2b5cd90c1e313ee3c0bdd4928e0d Affected |
| Linux Linux | 4.8 Affectedbefore 4.8 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- 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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.