CVE-2026-139668
publishedcrypto: qat - fix active_devs leak on crypto alg registration failure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxfa43d81ad11a749bf336c0fa7c39746ebedb3762 to < 76309cbe017eb1d92c91b2d65f8c1004800b542c · 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5 to < 3a880ae5b2af51b356ade94058e19a1311269f10 · 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5 to < 2d542d1332979f959e1746b93b838c9ed276a750 · 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5 to < f4d507971c074cd608cf5385c7d77ddf98c04455 · 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5 to < 178829f1b5b259938188a10f4103fdb901b6435e · dc44e3fdb091c157fb68cdb9be10c43798b6f16d · adeee72f0e3bca51d1047bca014ebc7fc21f70fb · 6.6.2 to < 6.6.163 · 6.1.63 to < 6.2 · 6.5.12 to < 6.6 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: qat - fix active_devs leak on crypto alg registration failure adf_dev_start() registered both alg sets in a single condition. If qat_algs_register() succeeds but qat_asym_algs_register() fails, ADF_STATUS_CRYPTO_ALGS_REGISTERED is left clear, so adf_dev_stop() skips qat_algs_unregister(): the skciphers and aeads stay registered with active_devs stuck at 1, pinning the module. Both helpers leak active_devs internally as well - they increment it and return without decrementing when a crypto_register_*() call fails, and the asym path also leaves the already-registered akcipher behind. Split the registration in adf_dev_start() so that an asym failure unregisters qat_algs, and unwind active_devs (and the akcipher) on the error paths of both register helpers. While at it, propagate the error code returned by the register helpers instead of a blanket -EFAULT.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | fa43d81ad11a749bf336c0fa7c39746ebedb3762 to < 76309cbe017eb1d92c91b2d65f8c1004800b542c (affected · git)9b2f33a1bfcda90b857431a764c9c8f9a412bbe5 to < 3a880ae5b2af51b356ade94058e19a1311269f10 (affected · git)9b2f33a1bfcda90b857431a764c9c8f9a412bbe5 to < 2d542d1332979f959e1746b93b838c9ed276a750 (affected · git)9b2f33a1bfcda90b857431a764c9c8f9a412bbe5 to < f4d507971c074cd608cf5385c7d77ddf98c04455 (affected · git)9b2f33a1bfcda90b857431a764c9c8f9a412bbe5 to < 178829f1b5b259938188a10f4103fdb901b6435e (affected · git)dc44e3fdb091c157fb68cdb9be10c43798b6f16d (affected · git)adeee72f0e3bca51d1047bca014ebc7fc21f70fb (affected · git)6.6.2 to < 6.6.163 (affected · semver)6.1.63 to < 6.2 (affected · semver)6.5.12 to < 6.6 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/178829f1b5b259938188a10f4103fdb901b6435e
- https://git.kernel.org/stable/c/2d542d1332979f959e1746b93b838c9ed276a750
- https://git.kernel.org/stable/c/3a880ae5b2af51b356ade94058e19a1311269f10
- https://git.kernel.org/stable/c/76309cbe017eb1d92c91b2d65f8c1004800b542c
- https://git.kernel.org/stable/c/f4d507971c074cd608cf5385c7d77ddf98c04455
Provider assertions
1Linux · cna
crypto: qat - fix active_devs leak on crypto alg registration failure
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b8ec54a1314a4b6ed43c5b2593d757a57c2773ed357d63babb4f691f70a1eed9
- Ingested
- 30 Nov 2026, 13:43:49 UTC
- Source record
- Official CVE record