Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139647

published

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

Published
30 Nov 2026, 13:36:41 UTC
Updated
30 Nov 2026, 13:36:41 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxd8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 1686fb8e8abbd3994952a7b3762683f86cc1d579 · d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 7eb8b19a140ac4feeb0acb2b3e7077fc8c5fbef6 · d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 0b3ae981c8f95f22f412d2f5933e453529a44ca8 · d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < cb3a1364fed9ea7b063e3ae026177a145abb5940 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.17 (affected) · 0 to < 3.17 (unaffected · semver) · 6.12.120 through 6.12.* (unaffected · semver) · 6.18.66 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 1686fb8e8abbd3994952a7b3762683f86cc1d579 (affected · git)d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 7eb8b19a140ac4feeb0acb2b3e7077fc8c5fbef6 (affected · git)d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < 0b3ae981c8f95f22f412d2f5933e453529a44ca8 (affected · git)d8cba25d2c68992a6e7c1d329b690a9ebe01167d to < cb3a1364fed9ea7b063e3ae026177a145abb5940 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.17 (affected)0 to < 3.17 (unaffected · semver)6.12.120 through 6.12.* (unaffected · semver)6.18.66 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
d0a72dfa5ad1cdd326956568afb7eeff7405d84a264a29cbf16b290db5fe88c8
Ingested
30 Nov 2026, 13:43:49 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected