CVE-2026-99037: dm-crypt: reject the lmk IV mode with AEAD ciphers

Published Oct 23, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

dm-crypt: reject the lmk IV mode with AEAD ciphers

A "capi:" table line that pairs an AEAD cipher with the lmk IV mode, for example "capi:gcm(aes)-lmk" with the integrity:28:aead option, causes an oops when it is loaded. lmk sets tfmscount to 64, but cryptalloctfmsaead only allocates one transform, so cryptsetkey reads past the end of the tfmsaead array and calls cryptoaeadsetkey on the values it finds there.

lmk exists for compatibility with Loop-AES, which uses CBC, so refuse it with an AEAD cipher rather than allocate 64 AEAD transforms. The check cannot go in cryptivlmkctr with the other lmk checks, because the IV constructor runs after cryptsetkey.

Note that this is not a security bug because the memory corruption can only be triggered by root.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Do not pair the lmk IV mode with an AEAD cipher, such as capi:gcm(aes)-lmk; lmk is intended for CBC ciphers.

    dm-crypt lmk IV mode with AEAD ciphers = disabled/rejected

Event History

Oct 23, 2026
CVE Published
via MITRE·12:21 PM
Data Sourced
via MITRE·12:21 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203