{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139592",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.942Z",
        "datePublished": "2026-11-30T13:36:10.804Z",
        "dateUpdated": "2026-11-30T13:36:10.804Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:36:10.804Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it\n\ncreate_resource_common() inserted the resource into the radix tree\nbefore its initialization was complete. A firmware EQE in that window\nfinds a zero refcount_t and calls refcount_inc() on it; the refcount API\ntreats this as a use-after-free, saturates the counter, and permanently\nbreaks the resource's lifecycle tracking.\n\nMove the initialization before the radix_tree_insert()."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/infiniband/hw/mlx5/qpc.c"
                    ],
                    "versions": [
                        {
                            "version": "e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c",
                            "lessThan": "d3d3ad4d0aa3aa3a204651ae47efa65afa45daae",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c",
                            "lessThan": "a2fe324cdb430cd23d41948488b65a8529fb9ee1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c",
                            "lessThan": "69bcd39f042aab1b8b794c50f3affd038cee5056",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c",
                            "lessThan": "e147bdda7834ed4188c84c5ead9f417faf8fa698",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c",
                            "lessThan": "3dfebc28751fde6f3be0ddc1c1bcb22b96a72360",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c",
                            "lessThan": "bca1076b86026bc6445fd97a1c5c1b86210c510e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c",
                            "lessThan": "674005307775811354545959b2d614b9095deb59",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c",
                            "lessThan": "829a0e65deff3f826a7870a52404aeaf1a3fec3f",
                            "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/infiniband/hw/mlx5/qpc.c"
                    ],
                    "versions": [
                        {
                            "version": "3.11",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.11",
                            "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": "3.11",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.11",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d3d3ad4d0aa3aa3a204651ae47efa65afa45daae"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a2fe324cdb430cd23d41948488b65a8529fb9ee1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/69bcd39f042aab1b8b794c50f3affd038cee5056"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e147bdda7834ed4188c84c5ead9f417faf8fa698"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3dfebc28751fde6f3be0ddc1c1bcb22b96a72360"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bca1076b86026bc6445fd97a1c5c1b86210c510e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/674005307775811354545959b2d614b9095deb59"
                },
                {
                    "url": "https://git.kernel.org/stable/c/829a0e65deff3f826a7870a52404aeaf1a3fec3f"
                }
            ],
            "title": "RDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}