CVE-2026-142891

Source
https://cve.org/CVERecord?id=CVE-2026-142891
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142891.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142891
Downstream
Published
2026-12-03T03:25:43Z
Modified
2026-12-03T05:01:16Z
Summary
nvme-loop: don't BUG() if a scan runs beside a reset
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142891.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3a85a5de29ea779634ddfd768059e06196687aba
Fixed
99e4c17b26237416b0114a1303966647a648effd
Fixed
c004d5911d19d6695578164ee723efd2ec3a561d
Fixed
7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0
Fixed
9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1d
Fixed
eca0cfe5eb4b7a6488476a862cb38edae951aa64
Show 3 more events Show fewer events
Fixed
586c80bd86228d759298aae3714f3a2dd39ed303
Fixed
c93411299eb8c016588452d0af27dd47cba6df0f
Fixed
64e21d782020e267ca57765a30216c38b34f296d

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142891.json"

Linux / Kernel

Package

Name
Kernel

Affected 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-142891.json"