{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139668",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.946Z",
        "datePublished": "2026-11-30T13:36:52.792Z",
        "dateUpdated": "2026-11-30T13:36:52.792Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:36:52.792Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qat - fix active_devs leak on crypto alg registration failure\n\nadf_dev_start() registered both alg sets in a single condition.\nIf qat_algs_register() succeeds but qat_asym_algs_register() fails,\nADF_STATUS_CRYPTO_ALGS_REGISTERED is left clear, so adf_dev_stop() skips\nqat_algs_unregister(): the skciphers and aeads stay registered with\nactive_devs stuck at 1, pinning the module.\n\nBoth helpers leak active_devs internally as well - they increment it and\nreturn without decrementing when a crypto_register_*() call fails, and\nthe asym path also leaves the already-registered akcipher behind.\n\nSplit the registration in adf_dev_start() so that an asym failure\nunregisters qat_algs, and unwind active_devs (and the akcipher) on the\nerror paths of both register helpers. While at it, propagate the error\ncode returned by the register helpers instead of a blanket -EFAULT."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/crypto/intel/qat/qat_common/adf_init.c",
                        "drivers/crypto/intel/qat/qat_common/qat_algs.c",
                        "drivers/crypto/intel/qat/qat_common/qat_asym_algs.c"
                    ],
                    "versions": [
                        {
                            "version": "fa43d81ad11a749bf336c0fa7c39746ebedb3762",
                            "lessThan": "76309cbe017eb1d92c91b2d65f8c1004800b542c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9b2f33a1bfcda90b857431a764c9c8f9a412bbe5",
                            "lessThan": "3a880ae5b2af51b356ade94058e19a1311269f10",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9b2f33a1bfcda90b857431a764c9c8f9a412bbe5",
                            "lessThan": "2d542d1332979f959e1746b93b838c9ed276a750",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9b2f33a1bfcda90b857431a764c9c8f9a412bbe5",
                            "lessThan": "f4d507971c074cd608cf5385c7d77ddf98c04455",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9b2f33a1bfcda90b857431a764c9c8f9a412bbe5",
                            "lessThan": "178829f1b5b259938188a10f4103fdb901b6435e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dc44e3fdb091c157fb68cdb9be10c43798b6f16d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "adeee72f0e3bca51d1047bca014ebc7fc21f70fb",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.6.2",
                            "lessThan": "6.6.163",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.63",
                            "lessThan": "6.2",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.5.12",
                            "lessThan": "6.6",
                            "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/crypto/intel/qat/qat_common/adf_init.c",
                        "drivers/crypto/intel/qat/qat_common/qat_algs.c",
                        "drivers/crypto/intel/qat/qat_common/qat_asym_algs.c"
                    ],
                    "versions": [
                        {
                            "version": "6.7",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.7",
                            "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": "6.6.2",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.5.12"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/76309cbe017eb1d92c91b2d65f8c1004800b542c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3a880ae5b2af51b356ade94058e19a1311269f10"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2d542d1332979f959e1746b93b838c9ed276a750"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f4d507971c074cd608cf5385c7d77ddf98c04455"
                },
                {
                    "url": "https://git.kernel.org/stable/c/178829f1b5b259938188a10f4103fdb901b6435e"
                }
            ],
            "title": "crypto: qat - fix active_devs leak on crypto alg registration failure",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}