CVE-2026-142891
Description
In the Linux kernel, the following vulnerability has been resolved:
nvme-loop: don't BUG() if a scan runs beside a reset
A reset sets queue_count to 1 while it destroys the I/O queues and counts it back up when the new ones are made, and it doesn't stop the scan work. A new namespace found in that window trips the check in nvme_loop_init_hctx() for every hctx but the first:
kernel BUG at drivers/nvme/target/loop.c:224! nvme_loop_init_hctx+0x7d/0x80 __blk_mq_realloc_hw_ctxs+0x3af/0xa80 nvme_alloc_ns+0x1a2/0x22f0
The check protects nothing. ctrl->queues has nr_io_queues + 1 entries for the life of the controller, the tag set never has more hardware queues than that, and nvme_loop_queue_rq() rejects requests until the controller is live again.
Remove it.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/586c80bd86228d759298aae3714f3a2dd39ed303nvd
- git.kernel.org/stable/c/64e21d782020e267ca57765a30216c38b34f296dnvd
- git.kernel.org/stable/c/7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0nvd
- git.kernel.org/stable/c/99e4c17b26237416b0114a1303966647a648effdnvd
- git.kernel.org/stable/c/9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1dnvd
- git.kernel.org/stable/c/c004d5911d19d6695578164ee723efd2ec3a561dnvd
- git.kernel.org/stable/c/c93411299eb8c016588452d0af27dd47cba6df0fnvd
- git.kernel.org/stable/c/eca0cfe5eb4b7a6488476a862cb38edae951aa64nvd
News mentions
0No linked articles in our index yet.