Skip to content
FlawDB
Sign in

CVE-2026-139668

UNSCORED

crypto: qat - fix active_devs leak on crypto alg registration failure

AI summary AI generated

A local attacker-triggered crypto algorithm registration failure in the Linux kernel QAT driver leaks active_devs and leaves algorithms registered, pinning the module.

Mitigation

  • Upgrade Linux to 6.6 or later.

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

Vulnerability facts

Affected
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
Fixed in
Linux 76309cbe017eb1d92c91b2d65f8c1004800b542c, Linux 3a880ae5b2af51b356ade94058e19a1311269f10, Linux 2d542d1332979f959e1746b93b838c9ed276a750, Linux 178829f1b5b259938188a10f4103fdb901b6435e, Linux 6.6.163, Linux 6.2, Linux 6.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

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

Package / productAffectedFixedSource
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
Linux6.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

Technologies

References

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.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 6.5CVE-2026-140063

Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker

Linux kernel+1
MEDIUM 5.1CVE-2026-140038

Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber

Linux kernel+1
HIGH 7.3CVE-2026-139801

KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

Linux kernel
UNSCOREDCVE-2026-139800

9p/xen: drain response work after unbinding IRQ

Linux kernel
HIGH 7.0CVE-2026-139799

mm/shmem: hold off eviction in shmem_writeout()

Linux kernel
Sponsors