CVE-2026-139668: crypto: qat - fix active_devs leak on crypto alg registration failure

Published Nov 30, 2026
·
Updated

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

crypto: qat - fix activedevs leak on crypto alg registration failure

adfdevstart() registered both alg sets in a single condition. If qatalgsregister() succeeds but qatasymalgsregister() fails, ADFSTATUSCRYPTOALGSREGISTERED is left clear, so adfdevstop() skips qatalgsunregister(): the skciphers and aeads stay registered with activedevs stuck at 1, pinning the module.

Both helpers leak activedevs internally as well - they increment it and return without decrementing when a cryptoregister() call fails, and the asym path also leaves the already-registered akcipher behind.

Split the registration in adfdevstart() so that an asym failure unregisters qatalgs, and unwind activedevs (and the akcipher) on the error paths of both register helpers. While at it, propagate the error code returned by the register helpers instead of a blanket -EFAULT.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:36 PM
Data Sourced
via MITRE·01:36 PM
Description

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