CVE-2026-139475: crypto: caam/qi,qi2 - set plain_keylen for skcipher descriptors

Published Nov 30, 2026
·
Updated

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

crypto: caam/qi,qi2 - set plainkeylen for skcipher descriptors

Since the commit 66b9a095f7f9 ("crypto: caam - Add support of paes algorithm")

The shared descriptor then loads a zero-length key and the SEC decodes the inlined key bytes as commands.

Test: with CONFIGCRYPTOSELFTESTS on LX2160A every skcipher but xts fails:

dpaa2caam dpseci.0: 40000307: DECO: desc idx 3: Invalid LOAD Command alg: skcipher: ctr-aes-caam-qi2 encryption failed on test vector 0; expectederror=0, actualerror=-22, cfg="in-place (one sglist)"

caamalgqi.c is compile-tested only.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
Description

Frequently Asked Questions

1

Which implementations are implicated by the available information?

The issue concerns the caam/qi and caam/qi2 paths in the Linux kernel. The affected behavior is described as occurring after commit 66b9a095f7f9, which added PAES algorithm support.

2

How can an administrator identify the reported failure?

With CONFIG_CRYPTO_SELFTESTS enabled on an LX2160A, every skcipher self-test except XTS was reported to fail. The example reports a DECO "Invalid LOAD Command" error and a ctr-aes-caam-qi2 encryption test failure with actual_error=-22.

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