CVE-2026-142891
not scored yetnvme-loop: don't BUG() if a scan runs beside a reset
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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 3a85a5de29ea779634ddfd768059e06196687aba, < 99e4c17b26237416b0114a1303966647a648effd; >= 3a85a5de29ea779634ddfd768059e06196687aba, < c004d5911d19d6695578164ee723efd2ec3a561d; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1d; >= 3a85a5de29ea779634ddfd768059e06196687aba, < eca0cfe5eb4b7a6488476a862cb38edae951aa64; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 586c80bd86228d759298aae3714f3a2dd39ed303; >= 3a85a5de29ea779634ddfd768059e06196687aba, < c93411299eb8c016588452d0af27dd47cba6df0f; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 64e21d782020e267ca57765a30216c38b34f296d | 99e4c17b26237416b0114a1303966647a648effd, c004d5911d19d6695578164ee723efd2ec3a561d, 7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0, 9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1d, eca0cfe5eb4b7a6488476a862cb38edae951aa64, 586c80bd86228d759298aae3714f3a2dd39ed303, c93411299eb8c016588452d0af27dd47cba6df0f, 64e21d782020e267ca57765a30216c38b34f296d |
| CVE List | Linux | Linux | = 4.8 |
References
- https://git.kernel.org/stable/c/586c80bd86228d759298aae3714f3a2dd39ed303
- https://git.kernel.org/stable/c/64e21d782020e267ca57765a30216c38b34f296d
- https://git.kernel.org/stable/c/7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0
- https://git.kernel.org/stable/c/99e4c17b26237416b0114a1303966647a648effd
- https://git.kernel.org/stable/c/9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1d
- https://git.kernel.org/stable/c/c004d5911d19d6695578164ee723efd2ec3a561d
- https://git.kernel.org/stable/c/c93411299eb8c016588452d0af27dd47cba6df0f
- https://git.kernel.org/stable/c/eca0cfe5eb4b7a6488476a862cb38edae951aa64
History
- 3 Dec 2026 05:06 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 04:06 UTC · CVE List: first stored (published 3 Dec 2026)