CVE Catalog

CVE-2026-93155

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, register_aes_algs() in the crypto: keembay driver registered AEAD algorithms before skcipher algorithms. If skcipher registration failed, the function unwound the earlier AEAD registration passing ARRAY_SIZE(algs) (the skcipher table size) instead of ARRAY_SIZE(algs_aead).

Risk Assessment

This may lead to incorrect unregistration of AEAD algorithms and leave an inconsistent registration state, potentially causing errors or crashes in cryptographic operations.

Recommendation

Update the Linux kernel to a version where the AEAD unwind path uses ARRAY_SIZE(algs_aead).

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: crypto: keembay - Fix AEAD unregister count in error path register_aes_algs() registers the AEAD algorithms before registering the skcipher algorithms. If skcipher registration fails, the function unwinds the earlier AEAD registration with crypto_engine_unregister_aeads(), but it passes ARRAY_SIZE(algs), which is the skcipher table size. Use ARRAY_SIZE(algs_aead) for the AEAD unwind path so the unregister helper iterates over the same table that was registered. Also clarify the nearby comment: the crypto registration helpers clean up algorithms registered within the same call, while this function must still unwind earlier successful registration steps.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS