Skip to content
FlawDB
Sign in

CVE-2026-139647

UNSCORED

crypto: qat - hold cfg->lock when accessing config sections

AI summary AI generated

An attacker with local access can trigger a use-after-free in the Linux kernel's Intel QAT crypto driver configuration code by racing section deletion against lookups.

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 1686fb8e8abbd3994952a7b3762683f86cc1d579; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 7eb8b19a140ac4feeb0acb2b3e7077fc8c5fbef6; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 0b3ae981c8f95f22f412d2f5933e453529a44ca8; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < cb3a1364fed9ea7b063e3ae026177a145abb5940
  • Anyone running Linux 3.17

Vulnerability facts

Affected
Linux >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 1686fb8e8abbd3994952a7b3762683f86cc1d579; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 7eb8b19a140ac4feeb0acb2b3e7077fc8c5fbef6; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 0b3ae981c8f95f22f412d2f5933e453529a44ca8; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < cb3a1364fed9ea7b063e3ae026177a145abb5940; Linux 3.17
Fixed in
Linux 1686fb8e8abbd3994952a7b3762683f86cc1d579, Linux 7eb8b19a140ac4feeb0acb2b3e7077fc8c5fbef6, Linux 0b3ae981c8f95f22f412d2f5933e453529a44ca8
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 - hold cfg->lock when accessing config sections adf_cfg_sec_find() walks the per-device section list without holding cfg->lock, and the returned section pointer is used later under the lock. A concurrent section deletion under cfg->lock (adf_cfg_del_all_except() on device down, or adf_cfg_dev_remove() on removal) can free the section first, leading to a use-after-free. The debugfs dev_cfg reader has the same problem: qat_dev_cfg_show() walks both the section list and each section's param_head under the global qat_cfg_read_lock mutex, not the per-device cfg->lock used by the add and delete paths, so the two do not serialise. Updating an existing key frees the old key_val under cfg->lock, so even a config write concurrent with an open dev_cfg read can free an entry mid-walk, a wider window than section deletion alone. Take cfg->lock around the section lookup in adf_cfg_add_key_value_param() and around the lookup and insert in adf_cfg_section_add(), and use down_read()/up_read(&cfg->lock) in the debugfs start/stop callbacks. Remove the now-unused qat_cfg_read_lock. While here, return -ENOENT rather than -EFAULT when the section is not found; EFAULT (bad userspace address) is not meaningful for this case.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 1686fb8e8abbd3994952a7b3762683f86cc1d579; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 7eb8b19a140ac4feeb0acb2b3e7077fc8c5fbef6; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 0b3ae981c8f95f22f412d2f5933e453529a44ca8; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < cb3a1364fed9ea7b063e3ae026177a145abb5940—cvelist
Linux3.17—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-139647. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139647.md
Affected: Linux >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 1686fb8e8abbd3994952a7b3762683f86cc1d579; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 7eb8b19a140ac4feeb0acb2b3e7077fc8c5fbef6; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 0b3ae981c8f95f22f412d2f5933e453529a44ca8; >= d8cba25d2c68992a6e7c1d3…
Fixed in: Linux 1686fb8e8abbd3994952a7b3762683f86cc1d579, Linux 7eb8b19a140ac4feeb0acb2b3e7077fc8c5fbef6, Linux 0b3ae981c8f95f22f412d2f5933e453529a44ca8

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-139647 being exploited?

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

How serious is CVE-2026-139647?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-139647?

Linux >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 1686fb8e8abbd3994952a7b3762683f86cc1d579; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 7eb8b19a140ac4feeb0acb2b3e7077fc8c5fbef6; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 0b3ae981c8f95f22f412d2f5933e453529a44ca8; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < cb3a1364fed9ea7b063e3ae026177a145abb5940; Linux 3.17.

Is there a fix for CVE-2026-139647?

Yes. Fixed in Linux 1686fb8e8abbd3994952a7b3762683f86cc1d579, Linux 7eb8b19a140ac4feeb0acb2b3e7077fc8c5fbef6, Linux 0b3ae981c8f95f22f412d2f5933e453529a44ca8. No fix listed yet: follow the vendor advisory.

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

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