0.0
NA
CVE-2026-142891
nvme-loop: don't BUG() if a scan runs beside a reset
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.

INFO

Published Date :

Dec. 3, 2026, 4:18 a.m.

Last Modified :

Dec. 3, 2026, 4:18 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-142891 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Remove the unnecessary check in nvme_loop_init_hctx to prevent kernel bugs during resets.
  • Remove the check in nvme_loop_init_hctx.
  • Apply the kernel patch to fix the bug.
  • Update the Linux kernel to the latest version.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-142891 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-142891 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-142891 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-142891 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 03, 2026

    Action Type Old Value New Value
    Added 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/142xxx/CVE-2026-142891.json">CVE-2026-142891</a>
    Added Reference https://git.kernel.org/stable/c/586c80bd86228d759298aae3714f3a2dd39ed303
    Added Reference https://git.kernel.org/stable/c/64e21d782020e267ca57765a30216c38b34f296d
    Added Reference https://git.kernel.org/stable/c/7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0
    Added Reference https://git.kernel.org/stable/c/99e4c17b26237416b0114a1303966647a648effd
    Added Reference https://git.kernel.org/stable/c/9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1d
    Added Reference https://git.kernel.org/stable/c/c004d5911d19d6695578164ee723efd2ec3a561d
    Added Reference https://git.kernel.org/stable/c/c93411299eb8c016588452d0af27dd47cba6df0f
    Added Reference https://git.kernel.org/stable/c/eca0cfe5eb4b7a6488476a862cb38edae951aa64
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.