CVE-2026-139647

Not scored yetLast modified Nov 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 1686fb8e8abbd3994952a7b3762683f86cc1d579; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 7eb8b19a140ac4feeb0acb2b3e7077fc8c5fbef6; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < 0b3ae981c8f95f22f412d2f5933e453529a44ca8; >= d8cba25d2c68992a6e7c1d329b690a9ebe01167d, < cb3a1364fed9ea7b063e3ae026177a145abb5940
LinuxLinux3.17

References

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139648In the Linux kernel, the following vulnerability has been resolved: crypto: asymmetric_keys/pkcs7 - Check all signers before waiving authatCVE-2026-139649In the Linux kernel, the following vulnerability has been resolved: crypto: asymmetric_keys/x509 - copy X.509 TBS for data signature algoriCVE-2026-139658.8Use after free in Oilpan in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to execute arbitrary code inside a sandbox via a CVE-2026-139650In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix RQ resource reference leak in mlx5_ib_wq_event() Since CVE-2026-139651In the Linux kernel, the following vulnerability has been resolved: RDMA/cxgb4: Fix skb reference leak in rx_pkt() rx_pkt() takes an extraCVE-2026-139652In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: check vport device allocation An existing RDMA function doCVE-2026-139653In the Linux kernel, the following vulnerability has been resolved: wifi: rtl8xxxu: unwind incomplete receive startup rtl8xxxu_start() allCVE-2026-139654In the Linux kernel, the following vulnerability has been resolved: wifi: rtl8xxxu: free RX skb when URB submission fails When usb_submit_CVE-2026-139655In the Linux kernel, the following vulnerability has been resolved: leds: st1202: Do not set brightness from atomic context st1202_brightnCVE-2026-139656In the Linux kernel, the following vulnerability has been resolved: leds: st1202: Take a reference on the LED firmware node st1202_dt_initCVE-2026-1396577.8In the Linux kernel, the following vulnerability has been resolved: mm/gup: honour FOLL_PIN in NOMMU __get_user_pages_locked() The !CONFIGCVE-2026-139658In the Linux kernel, the following vulnerability has been resolved: pstore: reject persistent RAM zones too small for the buffer header pe
CVE-2026-139647: Unscored | Vulnix