{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142891",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.335Z",
        "datePublished": "2026-12-03T03:25:43.657Z",
        "dateUpdated": "2026-12-03T03:25:43.657Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:25:43.657Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-loop: don't BUG() if a scan runs beside a reset\n\nA reset sets queue_count to 1 while it destroys the I/O queues and\ncounts it back up when the new ones are made, and it doesn't stop the\nscan work. A new namespace found in that window trips the check in\nnvme_loop_init_hctx() for every hctx but the first:\n\n  kernel BUG at drivers/nvme/target/loop.c:224!\n   nvme_loop_init_hctx+0x7d/0x80\n   __blk_mq_realloc_hw_ctxs+0x3af/0xa80\n   nvme_alloc_ns+0x1a2/0x22f0\n\nThe check protects nothing. ctrl->queues has nr_io_queues + 1 entries\nfor the life of the controller, the tag set never has more hardware\nqueues than that, and nvme_loop_queue_rq() rejects requests until the\ncontroller is live again.\n\nRemove it."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/nvme/target/loop.c"
                    ],
                    "versions": [
                        {
                            "version": "3a85a5de29ea779634ddfd768059e06196687aba",
                            "lessThan": "99e4c17b26237416b0114a1303966647a648effd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3a85a5de29ea779634ddfd768059e06196687aba",
                            "lessThan": "c004d5911d19d6695578164ee723efd2ec3a561d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3a85a5de29ea779634ddfd768059e06196687aba",
                            "lessThan": "7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3a85a5de29ea779634ddfd768059e06196687aba",
                            "lessThan": "9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3a85a5de29ea779634ddfd768059e06196687aba",
                            "lessThan": "eca0cfe5eb4b7a6488476a862cb38edae951aa64",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3a85a5de29ea779634ddfd768059e06196687aba",
                            "lessThan": "586c80bd86228d759298aae3714f3a2dd39ed303",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3a85a5de29ea779634ddfd768059e06196687aba",
                            "lessThan": "c93411299eb8c016588452d0af27dd47cba6df0f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3a85a5de29ea779634ddfd768059e06196687aba",
                            "lessThan": "64e21d782020e267ca57765a30216c38b34f296d",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/nvme/target/loop.c"
                    ],
                    "versions": [
                        {
                            "version": "4.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/99e4c17b26237416b0114a1303966647a648effd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c004d5911d19d6695578164ee723efd2ec3a561d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7eda07f7f8ccf7bf7a5e9514014eac99e8410dd0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9bd1ee9869deb35f962d93ec7b13a7c9f13bfc1d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/eca0cfe5eb4b7a6488476a862cb38edae951aa64"
                },
                {
                    "url": "https://git.kernel.org/stable/c/586c80bd86228d759298aae3714f3a2dd39ed303"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c93411299eb8c016588452d0af27dd47cba6df0f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/64e21d782020e267ca57765a30216c38b34f296d"
                }
            ],
            "title": "nvme-loop: don't BUG() if a scan runs beside a reset",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}