GHSA-h6fj-2f26-g348unknown
In the Linux kernel, the following vulnerability has been resolved: crypto: keembay - Fix AEAD...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-93155
- https://git.kernel.org/stable/c/27ec91c29ee155cc507b2f56221fc6fab65dbb51
- https://git.kernel.org/stable/c/5607b101d86cbee8dd1ffab784495c880ca73383
- https://git.kernel.org/stable/c/5bbb726d27ff6dff750264e51aa665538394d0f8
- https://git.kernel.org/stable/c/a3217fe7998622728a53dff405615e0971949eaf
- https://git.kernel.org/stable/c/e264401ce4776a288524e5b87593d4d864147115
- https://github.com/advisories/GHSA-h6fj-2f26-g348