{"id":"CVE-2026-139151","summary":"nvmet-rdma: disable interrupts under rsp_wr_wait_lock","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-rdma: disable interrupts under rsp_wr_wait_lock\n\nrsp_wr_wait_lock protects the list of commands waiting for room in the\nsend queue, and it's taken with plain spin_lock(). But\nnvmet_rdma_queue_response() calls nvmet_rdma_release_rsp() directly if\nib_post_send() fails, and that processes the wait list. The call chain\nstarts in nvmet_req_complete(), which for a block device namespace runs\nfrom the bio end_io callback, which can be in hard interrupt context.\nAn interrupt that completes a command on a CPU holding the lock for the\nsame queue spins forever. Lockdep over siw with a null_blk namespace:\n\n  inconsistent {HARDIRQ-ON-W} -\u003e {IN-HARDIRQ-W} usage\n\nUse spin_lock_irqsave() for both takers. The processing loop still\ndrops the lock, and restores the caller's interrupt state, around\nnvmet_rdma_execute_command().","modified":"2026-11-30T15:02:27.300100311Z","published":"2026-11-30T13:32:03.113Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139151.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/14e4e09443ac2b5cd90c1e313ee3c0bdd4928e0d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1fecac24f5e89cb93ae9991476c2fef3812987d0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4cdd627da94f90901c2208009b0e07d62010c4e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/79328a8a24c604018562d246a55c6071eb99ca94"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a5f483eea879cbf62e371c9db65dcb487dc0ff5a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ab007be71a398a27e5bcf7117253391a99c3b333"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b580abd990c0ed27ed1ee9ae9e7c3b99a1b3bd3b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f1e56916c140dee03248a744e4990c9e5374e9b3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139151.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139151"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8f000cac6e7a6edca7ab93bafc7ed28b27c1545b"},{"fixed":"f1e56916c140dee03248a744e4990c9e5374e9b3"},{"fixed":"1fecac24f5e89cb93ae9991476c2fef3812987d0"},{"fixed":"4cdd627da94f90901c2208009b0e07d62010c4e8"},{"fixed":"a5f483eea879cbf62e371c9db65dcb487dc0ff5a"},{"fixed":"79328a8a24c604018562d246a55c6071eb99ca94"},{"fixed":"ab007be71a398a27e5bcf7117253391a99c3b333"},{"fixed":"b580abd990c0ed27ed1ee9ae9e7c3b99a1b3bd3b"},{"fixed":"14e4e09443ac2b5cd90c1e313ee3c0bdd4928e0d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139151.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139151.json"}}],"schema_version":"1.9.2"}