# CVE-2026-139668: crypto: qat - fix active\_devs leak on crypto alg registration failure

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:36:52.792Z
- **Modified:** 2026-11-30T14:19:52.177Z

> **AI summary (AI-generated, claude-haiku-5-5):** A local attacker-triggered crypto algorithm registration failure in the Linux kernel QAT driver leaks active\_devs and leaves algorithms registered, pinning the module.

## Who should check

- Anyone running Linux \>= fa43d81ad11a749bf336c0fa7c39746ebedb3762, \< 76309cbe017eb1d92c91b2d65f8c1004800b542c; \>= 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, \< 3a880ae5b2af51b356ade94058e19a1311269f10; \>= 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, \< 2d542d1332979f959e1746b93b838c9ed276a750; \>= 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, \< f4d507971c074cd608cf5385c7d77ddf98c04455; \>= 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, \< 178829f1b5b259938188a10f4103fdb901b6435e; dc44e3fdb091c157fb68cdb9be10c43798b6f16d; adeee72f0e3bca51d1047bca014ebc7fc21f70fb; \>= 6.6.2, \< 6.6.163; \>= 6.1.63, \< 6.2; \>= 6.5.12, \< 6.6
- Anyone running Linux 6.7

## 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.

## Affected and fixed versions

- Linux: \>= fa43d81ad11a749bf336c0fa7c39746ebedb3762, \< 76309cbe017eb1d92c91b2d65f8c1004800b542c; \>= 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, \< 3a880ae5b2af51b356ade94058e19a1311269f10; \>= 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, \< 2d542d1332979f959e1746b93b838c9ed276a750; \>= 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, \< f4d507971c074cd608cf5385c7d77ddf98c04455; \>= 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, \< 178829f1b5b259938188a10f4103fdb901b6435e; dc44e3fdb091c157fb68cdb9be10c43798b6f16d; adeee72f0e3bca51d1047bca014ebc7fc21f70fb; \>= 6.6.2, \< 6.6.163; \>= 6.1.63, \< 6.2; \>= 6.5.12, \< 6.6 (cvelist)
- Linux: 6.7 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 6.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139668. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139668.md
Affected: Linux >= fa43d81ad11a749bf336c0fa7c39746ebedb3762, < 76309cbe017eb1d92c91b2d65f8c1004800b542c; >= 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, < 3a880ae5b2af51b356ade94058e19a1311269f10; >= 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, < 2d542d1332979f959e1746b93b838c9ed276a750; >= 9b2f33a1bfcda90b857431a…
Fixed in: Linux 76309cbe017eb1d92c91b2d65f8c1004800b542c, Linux 3a880ae5b2af51b356ade94058e19a1311269f10, Linux 2d542d1332979f959e1746b93b838c9ed276a750, Linux 178829f1b5b259938188a10f4103fdb901b6435e, Linux 6.6.163, Linux 6.2, Linux 6.6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139668 being exploited?

There is no confirmed exploitation: CVE-2026-139668 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139668?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139668?

Linux \>= fa43d81ad11a749bf336c0fa7c39746ebedb3762, \< 76309cbe017eb1d92c91b2d65f8c1004800b542c; \>= 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, \< 3a880ae5b2af51b356ade94058e19a1311269f10; \>= 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, \< 2d542d1332979f959e1746b93b838c9ed276a750; \>= 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, \< f4d507971c074cd608cf5385c7d77ddf98c04455; \>= 9b2f33a1bfcda90b857431a764c9c8f9a412bbe5, \< 178829f1b5b259938188a10f4103fdb901b6435e; dc44e3fdb091c157fb68cdb9be10c43798b6f16d; adeee72f0e3bca51d1047bca014ebc7fc21f70fb; \>= 6.6.2, \< 6.6.163; \>= 6.1.63, \< 6.2; \>= 6.5.12, \< 6.6; Linux 6.7.

### Is there a fix for CVE-2026-139668?

Yes. Fixed in Linux 76309cbe017eb1d92c91b2d65f8c1004800b542c, Linux 3a880ae5b2af51b356ade94058e19a1311269f10, Linux 2d542d1332979f959e1746b93b838c9ed276a750, Linux 178829f1b5b259938188a10f4103fdb901b6435e, Linux 6.6.163, Linux 6.2, Linux 6.6. Upgrade Linux to 6.6 or later.

### How do I check if I'm affected by CVE-2026-139668?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/76309cbe017eb1d92c91b2d65f8c1004800b542c>
- other: <https://git.kernel.org/stable/c/3a880ae5b2af51b356ade94058e19a1311269f10>
- other: <https://git.kernel.org/stable/c/2d542d1332979f959e1746b93b838c9ed276a750>
- other: <https://git.kernel.org/stable/c/f4d507971c074cd608cf5385c7d77ddf98c04455>
- other: <https://git.kernel.org/stable/c/178829f1b5b259938188a10f4103fdb901b6435e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139668>

HTML: <https://flawdb.com/CVE-2026-139668> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139668>
