{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139120",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.915Z",
        "datePublished": "2026-11-30T13:31:46.018Z",
        "dateUpdated": "2026-11-30T13:31:46.018Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:31:46.018Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: set up a queue under tag_list_lock\n\nblk_mq_init_allocated_queue() only takes tag_list_lock at the end, when\nit adds the queue to the set. Before that it sizes the queue by\nset->nr_hw_queues, hands out set->tags[], maps by set->map[], and\nblk_mq_map_swqueue() frees tags of the set. An update clearing the maps\nat that time makes the new queue free tags that all the other queues\nshare. An NVMe controller reset during a namespace scan does exactly\nthat.\n\nTake the lock before the first look at the set. An update can be part of\nerror handling, so the allocations under the lock must not wait for IO:\nmemalloc_noio_save(), as in add_disk_fwnode()."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "block/blk-mq.c"
                    ],
                    "versions": [
                        {
                            "version": "868f2f0b72068a097508b6e8870a8950fd8eb7ef",
                            "lessThan": "e7e089b61901be0f4bac6b1d8c8f8e25cf178280",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "868f2f0b72068a097508b6e8870a8950fd8eb7ef",
                            "lessThan": "515e211124113b4faecf3b0cb20087965286ee0c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "868f2f0b72068a097508b6e8870a8950fd8eb7ef",
                            "lessThan": "4fcc499ea9bc31b02393904a1903e794d146f5f7",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "block/blk-mq.c"
                    ],
                    "versions": [
                        {
                            "version": "4.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.6",
                            "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.6",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.6",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.6",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/e7e089b61901be0f4bac6b1d8c8f8e25cf178280"
                },
                {
                    "url": "https://git.kernel.org/stable/c/515e211124113b4faecf3b0cb20087965286ee0c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4fcc499ea9bc31b02393904a1903e794d146f5f7"
                }
            ],
            "title": "blk-mq: set up a queue under tag_list_lock",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}