Bug 2586717 (CVE-2026-139668) - CVE-2026-139668 kernel: kernel: Denial of service via algorithm registration failure in QAT driver
Summary: CVE-2026-139668 kernel: kernel: Denial of service via algorithm registration ...
Keywords:
Status: NEW
Alias: CVE-2026-139668
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:35 UTC by OSIDB Bzimport
Modified: 2026-12-01 00:56 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:35:48 UTC
In the Linux kernel, the following vulnerability has been resolved:

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

adf_dev_start() registered both alg sets in a single condition.
If qat_algs_register() succeeds but qat_asym_algs_register() fails,
ADF_STATUS_CRYPTO_ALGS_REGISTERED is left clear, so adf_dev_stop() skips
qat_algs_unregister(): the skciphers and aeads stay registered with
active_devs stuck at 1, pinning the module.

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

Split the registration in adf_dev_start() so that an asym failure
unregisters qat_algs, and unwind active_devs (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.


Note You need to log in before you can comment on or make changes to this bug.