Skip to content
FlawDB
Sign in

CVE-2026-142891

UNSCORED

nvme-loop: don't BUG() if a scan runs beside a reset

AI summary AI generated

An attacker able to trigger a namespace scan during a controller reset can crash the Linux kernel via a BUG() check in the NVMe loop target driver.

Mitigation

  • Upgrade Linux to 64e21d782020e267ca57765a30216c38b34f296d or later.

Who should check

  • Anyone running Linux >= 3a85a5de29ea779634ddfd768059e06196687aba, < 99e4c17b26237416b0114a1303966647a648effd; >= 3a85a5de29ea779634ddfd768059e06196687aba, < c004d5911d19d6695578164ee723efd2ec3a561d; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1d; >= 3a85a5de29ea779634ddfd768059e06196687aba, < eca0cfe5eb4b7a6488476a862cb38edae951aa64; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 586c80bd86228d759298aae3714f3a2dd39ed303; >= 3a85a5de29ea779634ddfd768059e06196687aba, < c93411299eb8c016588452d0af27dd47cba6df0f; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 64e21d782020e267ca57765a30216c38b34f296d
  • Anyone running Linux 4.8

Vulnerability facts

Affected
Linux >= 3a85a5de29ea779634ddfd768059e06196687aba, < 99e4c17b26237416b0114a1303966647a648effd; >= 3a85a5de29ea779634ddfd768059e06196687aba, < c004d5911d19d6695578164ee723efd2ec3a561d; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1d; >= 3a85a5de29ea779634ddfd768059e06196687aba, < eca0cfe5eb4b7a6488476a862cb38edae951aa64; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 586c80bd86228d759298aae3714f3a2dd39ed303; >= 3a85a5de29ea779634ddfd768059e06196687aba, < c93411299eb8c016588452d0af27dd47cba6df0f; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 64e21d782020e267ca57765a30216c38b34f296d; Linux 4.8
Fixed in
Linux 99e4c17b26237416b0114a1303966647a648effd, Linux 7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0, Linux 9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1d, Linux 586c80bd86228d759298aae3714f3a2dd39ed303, Linux 64e21d782020e267ca57765a30216c38b34f296d
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 3a85a5de29ea779634ddfd768059e06196687aba, < 99e4c17b26237416b0114a1303966647a648effd; >= 3a85a5de29ea779634ddfd768059e06196687aba, < c004d5911d19d6695578164ee723efd2ec3a561d; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1d; >= 3a85a5de29ea779634ddfd768059e06196687aba, < eca0cfe5eb4b7a6488476a862cb38edae951aa64; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 586c80bd86228d759298aae3714f3a2dd39ed303; >= 3a85a5de29ea779634ddfd768059e06196687aba, < c93411299eb8c016588452d0af27dd47cba6df0f; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 64e21d782020e267ca57765a30216c38b34f296d—cvelist
Linux4.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-142891. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142891.md
Affected: Linux >= 3a85a5de29ea779634ddfd768059e06196687aba, < 99e4c17b26237416b0114a1303966647a648effd; >= 3a85a5de29ea779634ddfd768059e06196687aba, < c004d5911d19d6695578164ee723efd2ec3a561d; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0; >= 3a85a5de29ea779634ddfd7…
Fixed in: Linux 99e4c17b26237416b0114a1303966647a648effd, Linux 7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0, Linux 9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1d, Linux 586c80bd86228d759298aae3714f3a2dd39ed303, Linux 64e21d782020e267ca57765a30216c38b34f296d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-142891 being exploited?

There is no confirmed exploitation: CVE-2026-142891 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-142891?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-142891?

Linux >= 3a85a5de29ea779634ddfd768059e06196687aba, < 99e4c17b26237416b0114a1303966647a648effd; >= 3a85a5de29ea779634ddfd768059e06196687aba, < c004d5911d19d6695578164ee723efd2ec3a561d; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1d; >= 3a85a5de29ea779634ddfd768059e06196687aba, < eca0cfe5eb4b7a6488476a862cb38edae951aa64; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 586c80bd86228d759298aae3714f3a2dd39ed303; >= 3a85a5de29ea779634ddfd768059e06196687aba, < c93411299eb8c016588452d0af27dd47cba6df0f; >= 3a85a5de29ea779634ddfd768059e06196687aba, < 64e21d782020e267ca57765a30216c38b34f296d; Linux 4.8.

Is there a fix for CVE-2026-142891?

Yes. Fixed in Linux 99e4c17b26237416b0114a1303966647a648effd, Linux 7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0, Linux 9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1d, Linux 586c80bd86228d759298aae3714f3a2dd39ed303, Linux 64e21d782020e267ca57765a30216c38b34f296d. Upgrade Linux to 64e21d782020e267ca57765a30216c38b34f296d or later.

How do I check if I'm affected by CVE-2026-142891?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
UNSCOREDCVE-2026-142948

i2c: designware: queue only one read command for block reads

Linux kernel
UNSCOREDCVE-2026-142947

cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails

Linux kernel
UNSCOREDCVE-2026-142946

ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device()

Linux kernel
UNSCOREDCVE-2026-142945

ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device()

Linux kernel
UNSCOREDCVE-2026-142944

ASoC: amd: acp-es8336: Use an owned codec device reference

Linux kernel
Sponsors