CVE-2026-139668

critical

Description

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.

References

https://git.kernel.org/stable/c/f4d507971c074cd608cf5385c7d77ddf98c04455

https://git.kernel.org/stable/c/76309cbe017eb1d92c91b2d65f8c1004800b542c

https://git.kernel.org/stable/c/3a880ae5b2af51b356ade94058e19a1311269f10

https://git.kernel.org/stable/c/2d542d1332979f959e1746b93b838c9ed276a750

https://git.kernel.org/stable/c/178829f1b5b259938188a10f4103fdb901b6435e

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-139374

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-11-30

Risk Information

CVSS v2

Base Score: 2.1

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:N

Severity: Low

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical