CVE-2026-139668
crypto: qat - fix active_devs leak on crypto alg registration failure
Check your servers for CVE-2026-139668
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139668 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from fa43d81ad11a749bf336c0fa7c39746ebedb3762, before 76309cbe017eb1d92c91b2d65f8c1004800b542c affected from 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, before 3a880ae5b2af51b356ade94058e19a1311269f10 affected from 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, before 2d542d1332979f959e1746b93b838c9ed276a750 affected from 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, before f4d507971c074cd608cf5385c7d77ddf98c04455 affected from 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, before 178829f1b5b259938188a10f4103fdb901b6435e affected dc44e3fdb091c157fb68cdb9be10c43798b6f16d affected adeee72f0e3bca51d1047bca014ebc7fc21f70fb affected from 6.6.2, before 6.6.163 affected from 6.1.63, before 6.2 affected from 6.5.12, before 6.6
Other versions: unaffected
|
| Linux |
affected 6.7 unaffected before 6.7 unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139668 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139668
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139668
trivy image --scanners vuln IMAGE | grep CVE-2026-139668
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/76309cbe017eb1d92c91b2d65f8c1004800b542c git.kernel.org
- https://git.kernel.org/stable/c/3a880ae5b2af51b356ade94058e19a1311269f10 git.kernel.org
- https://git.kernel.org/stable/c/2d542d1332979f959e1746b93b838c9ed276a750 git.kernel.org
- https://git.kernel.org/stable/c/f4d507971c074cd608cf5385c7d77ddf98c04455 git.kernel.org
- https://git.kernel.org/stable/c/178829f1b5b259938188a10f4103fdb901b6435e git.kernel.org
Source: the record CVE-2026-139668 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse