{"id":"CVE-2026-139475","summary":"crypto: caam/qi,qi2 - set plain_keylen for skcipher descriptors","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: caam/qi,qi2 - set plain_keylen for skcipher descriptors\n\nSince the commit 66b9a095f7f9\n  (\"crypto: caam - Add support of paes algorithm\")\n\nThe shared descriptor then loads a zero-length key and the SEC decodes\nthe inlined key bytes as commands.\n\nTest: with CONFIG_CRYPTO_SELFTESTS on LX2160A every skcipher but xts fails:\n\n  dpaa2_caam dpseci.0: 40000307: DECO: desc idx 3: Invalid LOAD Command\n  alg: skcipher: ctr-aes-caam-qi2 encryption failed on test vector 0; expected_error=0, actual_error=-22, cfg=\"in-place (one sglist)\"\n\ncaamalg_qi.c is compile-tested only.","modified":"2026-12-01T21:02:38.479881779Z","published":"2026-11-30T13:35:05.733Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139475.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/b566ebd52eeb661337ef5f52a000528af59479df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e8752a2eb736342313b49d4e759a2bdc00fc3a6c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139475.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139475"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"66b9a095f7f9e1031e5333661be513e89e40ee08"},{"fixed":"e8752a2eb736342313b49d4e759a2bdc00fc3a6c"},{"fixed":"b566ebd52eeb661337ef5f52a000528af59479df"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139475.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139475.json"}}],"schema_version":"1.9.2"}