{"id":"CVE-2026-139475","state":"PUBLISHED","title":"crypto: caam/qi,qi2 - set plain_keylen for skcipher descriptors","description":"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.","publishedAt":"2026-11-30T13:35:05.733Z","updatedAt":"2026-11-30T13:35:05.733Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"66b9a095f7f9e1031e5333661be513e89e40ee08","status":"affected","lessThan":"e8752a2eb736342313b49d4e759a2bdc00fc3a6c","versionType":"git"},{"version":"66b9a095f7f9e1031e5333661be513e89e40ee08","status":"affected","lessThan":"b566ebd52eeb661337ef5f52a000528af59479df","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/caam/caamalg_qi.c","drivers/crypto/caam/caamalg_qi2.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/caam/caamalg_qi.c","drivers/crypto/caam/caamalg_qi2.c"]}],"references":["https://git.kernel.org/stable/c/e8752a2eb736342313b49d4e759a2bdc00fc3a6c","https://git.kernel.org/stable/c/b566ebd52eeb661337ef5f52a000528af59479df"],"weaknesses":[],"ingestedAt":"2026-11-30T13:50:04.417Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139475.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139475","state":"PUBLISHED","datePublished":"2026-11-30T13:35:05.733Z","dateUpdated":"2026-11-30T13:35:05.733Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.936Z"},"containers":{"cna":{"title":"crypto: caam/qi,qi2 - set plain_keylen for skcipher descriptors","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"66b9a095f7f9e1031e5333661be513e89e40ee08","status":"affected","lessThan":"e8752a2eb736342313b49d4e759a2bdc00fc3a6c","versionType":"git"},{"version":"66b9a095f7f9e1031e5333661be513e89e40ee08","status":"affected","lessThan":"b566ebd52eeb661337ef5f52a000528af59479df","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/caam/caamalg_qi.c","drivers/crypto/caam/caamalg_qi2.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/caam/caamalg_qi.c","drivers/crypto/caam/caamalg_qi2.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e8752a2eb736342313b49d4e759a2bdc00fc3a6c"},{"url":"https://git.kernel.org/stable/c/b566ebd52eeb661337ef5f52a000528af59479df"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:35:05.733Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}