CVE-2026-139705

crypto: mxs-dcp - handle zero-length skcipher requests

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

crypto: mxs-dcp - handle zero-length skcipher requests

Zero-length skcipher requests are valid no-ops, but MXS-DCP queues them.
When such a request reaches the worker, last_out_len remains zero. The
CBC completion path then subtracts AES_BLOCK_SIZE from this unsigned
value when updating the IV, causing the offset to underflow. On
decryption, the resulting source address precedes aes_in_buf.

Return success before enqueueing zero-length requests. This avoids the
invalid source access and leaves the IV unchanged for a no-op.

Analysis

AI-generated

Technical impact

Zero-length skcipher requests are normally no‑ops, but the MXS‑DCP driver mistakenly treats them as normal jobs and queues them. When the completion routine subtracts an AES block size from an unsigned counter that remains zero, the IV update underflows and the driver reads data from before the input buffer. This underflow can corrupt kernel memory, trigger a crash, or leak kernel or user‑space data. Based on the description, it is inferred that an attacker can trigger the flaw by submitting such requests through the Linux kernel crypto API while running a user‑space application that has access to that API.

Affected Systems

All Linux kernel builds that include the MXS‑DCP crypto driver before the patch was applied. The advisory lists the vendor as Linux:Linux, and no specific kernel version is enumerated, so any kernel that ships the driver and has not yet integrated the commit that returns success for zero‑length requests is vulnerable.

Risk and Exploitability

The flaw provides a moderate‑severity local memory read or corruption vulnerability, as recorded by the CVSS score of 5.5. The EPSS score is not available and the issue is not listed in CISA KEV. An attacker with the ability to execute locally—such as any user space program that can request encryption or decryption via the kernel crypto framework—is inferred to be able to exploit the bug. The underlying weakness is an unsigned underflow caused by missing input validation, which enables the attacker to affect the integrity and availability of the kernel.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the patch which returns success before enqueueing zero‑length skcipher requests.
  • Reboot the system to load the fixed driver code into memory.
  • If a patch cannot be applied immediately, disable the MXS‑DCP driver or restrict access to the kernel crypto API via filesystem permissions or capabilities.

Generated by OpenCVE AI on December 1, 2026 at 16:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: crypto: mxs-dcp - handle zero-length skcipher requests Zero-length skcipher requests are valid no-ops, but MXS-DCP queues them. When such a request reaches the worker, last_out_len remains zero. The CBC completion path then subtracts AES_BLOCK_SIZE from this unsigned value when updating the IV, causing the offset to underflow. On decryption, the resulting source address precedes aes_in_buf. Return success before enqueueing zero-length requests. This avoids the invalid source access and leaves the IV unchanged for a no-op.
Title crypto: mxs-dcp - handle zero-length skcipher requests
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:37 PM