CVE-2026-139475: crypto: caam/qi,qi2 - set plain_keylen for skcipher descriptors
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
Event History
Frequently Asked Questions
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.
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.