Not scored
nvmet-rdma: disable interrupts under rsp_wr_wait_lock
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b before f1e56916c140dee03248a744e4990c9e5374e9b3, from 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b before 1fecac24f5e89cb93ae9991476c2fef3812987d0, from 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b before 4cdd627da94f90901c2208009b0e07d62010c4e8, from 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b before a5f483eea879cbf62e371c9db65dcb487dc0ff5a, from 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b before 79328a8a24c604018562d246a55c6071eb99ca94, from 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b before ab007be71a398a27e5bcf7117253391a99c3b333, from 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b before b580abd990c0ed27ed1ee9ae9e7c3b99a1b3bd3b, from 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b before 14e4e09443ac2b5cd90c1e313ee3c0bdd4928e0d and 1 more Not affected: before 4.8, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.119 up to 6.12.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139151 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139151 changed 2026-11-30 | Public domain |