{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139224",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.921Z",
        "datePublished": "2026-11-30T13:32:45.773Z",
        "dateUpdated": "2026-11-30T13:32:45.773Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:32:45.773Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-fabrics: reset io_queues before computing the queue mapping\n\nnvmf_set_io_queues only sets the io_queues entries of the queue types it\nhands out, but the array is reused on every reconnect.  When the\ncontroller grants fewer queues on a reconnect, stale entries survive and\nnvmf_map_queues maps CPUs to hardware contexts that don't exist anymore,\nwhich crashes blk_mq_map_swqueue with a NULL pointer dereference.  E.g.\nwith nr_io_queues=8, nr_write_queues=8 and nr_poll_queues=8, 24 queues\nare mapped 8/8/8 (default/read/poll).  If the controller grants only 16\nqueues on the reconnect, the poll map still starts at hardware context\n16.\n\nClear the array before computing the new mapping."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/nvme/host/fabrics.c"
                    ],
                    "versions": [
                        {
                            "version": "5651cd3c43368873d0787b52acb2e0e08f3c5da4",
                            "lessThan": "94498c0363440da72de04cd8a3bff6465f4f4886",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5651cd3c43368873d0787b52acb2e0e08f3c5da4",
                            "lessThan": "8bf33026231edefd87bbedbf21f4cf57924732ee",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5651cd3c43368873d0787b52acb2e0e08f3c5da4",
                            "lessThan": "7cd360c2fb439e60c777c00f2d49e6bbecbe83b0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5651cd3c43368873d0787b52acb2e0e08f3c5da4",
                            "lessThan": "2cde8f0ce90d3b78e74c6aed54c22374505552d2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5651cd3c43368873d0787b52acb2e0e08f3c5da4",
                            "lessThan": "0402ae823759c4dc695596f00a039dfd078b2e37",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5651cd3c43368873d0787b52acb2e0e08f3c5da4",
                            "lessThan": "9588769af5fc8ac12290d48ce1014a78916681fc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d8a303bd8452396a928f5ca2c7957167b2d185f0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3111e132f46e64440878d7b855fc1709d20ff7d8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.1.9",
                            "lessThan": "5.2",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.1.13",
                            "lessThan": "5.2",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/nvme/host/fabrics.c"
                    ],
                    "versions": [
                        {
                            "version": "5.2",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.2",
                            "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": "5.2",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.2",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.2",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.2",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.2",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.2",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.1.9"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.1.13"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/94498c0363440da72de04cd8a3bff6465f4f4886"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8bf33026231edefd87bbedbf21f4cf57924732ee"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7cd360c2fb439e60c777c00f2d49e6bbecbe83b0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2cde8f0ce90d3b78e74c6aed54c22374505552d2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0402ae823759c4dc695596f00a039dfd078b2e37"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9588769af5fc8ac12290d48ce1014a78916681fc"
                }
            ],
            "title": "nvme-fabrics: reset io_queues before computing the queue mapping",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}