CVE-2026-139475

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

Published Nov 30, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

crypto: caam/qi,qi2 - set plain_keylen 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 CONFIG_CRYPTO_SELFTESTS on LX2160A every skcipher but xts fails:

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

caamalg_qi.c is compile-tested only.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Linux kernel’s crypto/caam subsystem, where the key length for stream cipher descriptors is incorrectly set when the shared descriptor loads a zero‑length key. The kernel mistakenly interprets the inline key bytes as commands for the SEC hardware, causing the device to emit an error or crash. This flaw limits the attacker to triggering a failure in the cryptographic operation; no information disclosure or arbitrary code execution is documented. The primary impact is a denial of service in contexts that rely on the affected skcipher algorithms such as ctr‑aes‑caam‑qi2.

Affected Systems

Affected systems are Linux kernel builds that include the caam/qi and qi2 drivers. The issue was introduced by commit 66b9a095f7f9 and impacts any kernel running the module on hardware that implements the ARM Strong Security Engine, such as the LX2160A. No particular kernel releases are listed explicitly, but any distribution with the unpatched kernel will fall under risk.

Risk and Exploitability

The CVSS score is not supplied, and the EPSS score is unavailable, so the exploitation probability is unclear. The vulnerability requires the ability to supply a cryptographic key that the kernel will load with an incorrect length; it is not clear from the data whether this requires privileged user access, and this is inferred as possibly requiring such access. Because the flaw results in an error condition rather than direct privilege elevation, it is classified as a local denial‑of‑service flaw. The absence of a KEV listing further suggests the flaw has not yet been exploited in the wild.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the fix for commit 66b9a095f7f9 or later.
  • If an immediate kernel upgrade is not possible, disable or refrain from using the affected skcipher algorithms (ctr‑aes‑caam‑qi2, etc.) in security‑critical paths.
  • Run kernel cryptographic self‑tests after the patch to confirm that skcipher operations succeed and no dpaa2_caam errors occur.
  • Monitor system logs for dpaa2_caam error messages and respond promptly if they appear.

Generated by OpenCVE AI on December 1, 2026 at 12:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Weaknesses CWE-908
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: crypto: caam/qi,qi2 - set plain_keylen 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 CONFIG_CRYPTO_SELFTESTS on LX2160A every skcipher but xts fails: dpaa2_caam dpseci.0: 40000307: DECO: desc idx 3: Invalid LOAD Command alg: skcipher: ctr-aes-caam-qi2 encryption failed on test vector 0; expected_error=0, actual_error=-22, cfg="in-place (one sglist)" caamalg_qi.c is compile-tested only.
Title crypto: caam/qi,qi2 - set plain_keylen for skcipher descriptors
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-908

    Use of Uninitialized Resource

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Low
Public date
Nov 30, 2026, 1:35 PM