Skip to contentSkip to conversation

CVE-2026-93155: crypto: keembay - Fix AEAD unregister count in error path

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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.

The Linux kernel CVE team has assigned CVE-2026-93155 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.11 with commit 88574332451380f4b51f6ca88ab9810e714bfb9b and fixed in 6.6.157 with commit 27ec91c29ee155cc507b2f56221fc6fab65dbb51
	Issue introduced in 5.11 with commit 88574332451380f4b51f6ca88ab9810e714bfb9b and fixed in 6.12.110 with commit 5607b101d86cbee8dd1ffab784495c880ca73383
	Issue introduced in 5.11 with commit 88574332451380f4b51f6ca88ab9810e714bfb9b and fixed in 6.18.52 with commit 5bbb726d27ff6dff750264e51aa665538394d0f8
	Issue introduced in 5.11 with commit 88574332451380f4b51f6ca88ab9810e714bfb9b and fixed in 7.2.6 with commit a3217fe7998622728a53dff405615e0971949eaf
	Issue introduced in 5.11 with commit 88574332451380f4b51f6ca88ab9810e714bfb9b and fixed in 7.3-rc1 with commit e264401ce4776a288524e5b87593d4d864147115

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-93155

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/crypto/intel/keembay/keembay-ocs-aes-core.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	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