CVE-2026-139647
crypto: qat - hold cfg->lock when accessing config sections
Check your servers for CVE-2026-139647
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-139647 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 - 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.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.38% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d8cba25d2c68992a6e7c1d329b690a9ebe01167d, before 1686fb8e8abbd3994952a7b3762683f86cc1d579 affected from d8cba25d2c68992a6e7c1d329b690a9ebe01167d, before 7eb8b19a140ac4feeb0acb2b3e7077fc8c5fbef6 affected from d8cba25d2c68992a6e7c1d329b690a9ebe01167d, before 0b3ae981c8f95f22f412d2f5933e453529a44ca8 affected from d8cba25d2c68992a6e7c1d329b690a9ebe01167d, before cb3a1364fed9ea7b063e3ae026177a145abb5940
Other versions: unaffected
|
| Linux |
affected 3.17 unaffected before 3.17 unaffected from 6.12.120 up to and including 6.12.* unaffected from 6.18.66 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-139647 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139647
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-139647
trivy image --scanners vuln IMAGE | grep CVE-2026-139647
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/1686fb8e8abbd3994952a7b3762683f86cc1d579 git.kernel.org
- https://git.kernel.org/stable/c/7eb8b19a140ac4feeb0acb2b3e7077fc8c5fbef6 git.kernel.org
- https://git.kernel.org/stable/c/0b3ae981c8f95f22f412d2f5933e453529a44ca8 git.kernel.org
- https://git.kernel.org/stable/c/cb3a1364fed9ea7b063e3ae026177a145abb5940 git.kernel.org
Source: the record CVE-2026-139647 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