{"id":"CVE-2026-139668","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:19:52.177","lastModified":"2026-11-30T14:19:52.177","vulnStatus":"Received","cveTags":[],"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":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","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"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"fa43d81ad11a749bf336c0fa7c39746ebedb3762","lessThan":"76309cbe017eb1d92c91b2d65f8c1004800b542c","versionType":"git","status":"affected"},{"version":"9b2f33a1bfcda90b857431a764c9c8f9a412bbe5","lessThan":"3a880ae5b2af51b356ade94058e19a1311269f10","versionType":"git","status":"affected"},{"version":"9b2f33a1bfcda90b857431a764c9c8f9a412bbe5","lessThan":"2d542d1332979f959e1746b93b838c9ed276a750","versionType":"git","status":"affected"},{"version":"9b2f33a1bfcda90b857431a764c9c8f9a412bbe5","lessThan":"f4d507971c074cd608cf5385c7d77ddf98c04455","versionType":"git","status":"affected"},{"version":"9b2f33a1bfcda90b857431a764c9c8f9a412bbe5","lessThan":"178829f1b5b259938188a10f4103fdb901b6435e","versionType":"git","status":"affected"},{"version":"dc44e3fdb091c157fb68cdb9be10c43798b6f16d","versionType":"git","status":"affected"},{"version":"adeee72f0e3bca51d1047bca014ebc7fc21f70fb","versionType":"git","status":"affected"},{"version":"6.6.2","lessThan":"6.6.163","versionType":"semver","status":"affected"},{"version":"6.1.63","lessThan":"6.2","versionType":"semver","status":"affected"},{"version":"6.5.12","lessThan":"6.6","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","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"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.7","status":"affected"},{"version":"0","lessThan":"6.7","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/178829f1b5b259938188a10f4103fdb901b6435e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2d542d1332979f959e1746b93b838c9ed276a750","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/3a880ae5b2af51b356ade94058e19a1311269f10","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/76309cbe017eb1d92c91b2d65f8c1004800b542c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f4d507971c074cd608cf5385c7d77ddf98c04455","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}