Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139151

nvmet-rdma: disable interrupts under rsp_wr_wait_lock

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < f1e56916c140dee03248a744e4990c9e5374e9b3affected
  • 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 1fecac24f5e89cb93ae9991476c2fef3812987d0affected
  • 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 4cdd627da94f90901c2208009b0e07d62010c4e8affected
  • 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < a5f483eea879cbf62e371c9db65dcb487dc0ff5aaffected
  • 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 79328a8a24c604018562d246a55c6071eb99ca94affected
  • 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < ab007be71a398a27e5bcf7117253391a99c3b333affected
  • 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < b580abd990c0ed27ed1ee9ae9e7c3b99a1b3bd3baffected
  • 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b to < 14e4e09443ac2b5cd90c1e313ee3c0bdd4928e0daffected

Linux Linux

Default version status: affected

  • 4.8affected
  • 0 to < 4.8unaffected
  • 5.10.275 to ≤ 5.10.*unaffected
  • 5.15.226 to ≤ 5.15.*unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References