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().
https://git.kernel.org/stable/c/f1e56916c140dee03248a744e4990c9e5374e9b3
https://git.kernel.org/stable/c/b580abd990c0ed27ed1ee9ae9e7c3b99a1b3bd3b
https://git.kernel.org/stable/c/ab007be71a398a27e5bcf7117253391a99c3b333
https://git.kernel.org/stable/c/a5f483eea879cbf62e371c9db65dcb487dc0ff5a
https://git.kernel.org/stable/c/79328a8a24c604018562d246a55c6071eb99ca94
https://git.kernel.org/stable/c/4cdd627da94f90901c2208009b0e07d62010c4e8
https://git.kernel.org/stable/c/1fecac24f5e89cb93ae9991476c2fef3812987d0
https://git.kernel.org/stable/c/14e4e09443ac2b5cd90c1e313ee3c0bdd4928e0d