AZL-117268: CVE-2026-139647 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

adfcfgsecfind() 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 (adfcfgdelallexcept() on device down, or adfcfgdevremove() on removal) can free the section first, leading to a use-after-free.

The debugfs devcfg reader has the same problem: qatdevcfgshow() walks both the section list and each section's paramhead under the global qatcfgreadlock 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 keyval under cfg->lock, so even a config write concurrent with an open devcfg read can free an entry mid-walk, a wider window than section deletion alone.

Take cfg->lock around the section lookup in adfcfgaddkeyvalueparam() and around the lookup and insert in adfcfgsectionadd(), and use downread()/upread(&cfg->lock) in the debugfs start/stop callbacks. Remove the now-unused qatcfgreadlock.

While here, return -ENOENT rather than -EFAULT when the section is not found; EFAULT (bad userspace address) is not meaningful for this case.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Nov 30, 2026
Advisory Published
via OSV·02:19 PM
Data Sourced
via OSV·02:19 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Azure Linux kernel package version 6.6.161.1-1 are identified as affected. The vulnerable code is in the Linux kernel QAT crypto driver configuration and debugfs handling paths.

2

What conditions can trigger the use-after-free?

The issue requires concurrent access to QAT configuration data: a section deletion during device-down or device removal can race with a section lookup, and a configuration key update can race with an open debugfs dev_cfg read. These races can free a configuration section or key value while it is still being accessed.

3

How can I determine whether a system is affected?

Check whether the installed Azure Linux kernel package is version 6.6.161.1-1. Systems where the QAT driver configuration or its debugfs dev_cfg reader is used may encounter the affected concurrent access paths.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203