rootpwn

medium · CVSS v3 5.5

CVE-2026-93155

A bug in the Linux kernel’s crypto subsystem caused the AEAD algorithm cleanup routine to use the wrong array size during error handling, po

Overview

A bug in the Linux kernel’s crypto subsystem caused the AEAD algorithm cleanup routine to use the wrong array size during error handling, potentially leaving orphaned registrations. This can lead to kernel instability or crashes when crypto modules fail to load correctly.

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.

Impact

The flaw primarily impacts availability by increasing the risk of kernel panics or service interruptions when crypto modules are loaded or unloaded. While it does not directly expose data, a crash could allow an attacker to gain elevated privileges if the kernel is compromised during the failure state.

Remediation

['Apply the latest kernel update that includes the fix for CVE-2026-93155.', 'Verify that the kernel version is at least the patched release for your distribution.', 'If immediate patching is not possible, disable or restrict the use of the affected crypto modules (e.g., disable AEAD algorithms that rely on the buggy registration path).', 'Monitor system logs for kernel panic messages or crypto module load failures.', 'Enable kernel hardening features such as SELinux, AppArmor, or seccomp to reduce the impact of any potential kernel instability.']

Risk context

Medium severity with no EPSS data available. The vulnerability is mitigated by the publicly released patch, so the urgency is moderate; however, unpatched systems remain at risk of kernel crashes and potential privilege escalation if the error path is triggered.

Affected products

  • Linux kernel
  • Ubuntu
  • Red Hat
  • Debian
  • Fedora
  • CentOS
  • SUSE
  • Oracle Linux

Scores

Severity
medium
CVSS v2
5
CVSS v3
5.5
CVSS v4
EPSS

kernel crypto AEAD unregister availability patch defense

← All CVEs