Description
In the Linux kernel, the following vulnerability has been resolved:

crypto: mxs-dcp - fix source scatterlist length access

mxs_dcp_aes_block_crypt() uses sg_dma_len() without mapping the source
scatterlist with dma_map_sg() first. Therefore, sg_dma_len() is invalid
and could return zero or a stale DMA length, causing encryption and
decryption to process the wrong number of bytes when
CONFIG_NEED_SG_DMA_LENGTH=y.

Use the original scatterlist length instead.
Published: 2026-09-04
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A buffer‑length error in the Linux kernel’s MX.3 DCP crypto driver causes the sg_dma_len() call to be used without correctly mapping the source scatterlist. As a result the function may return zero or a stale DMA length, leading to encryption or decryption of an incorrect number of bytes. This flaw does not give an attacker code execution but can corrupt the data supplied to or produced by the crypto operation, undermining integrity and potentially confidentiality of the processed data. The weakness is rooted in improper initialization and use of a kernel API (CWE‑665). The impact is limited to cryptographic correctness rather than direct privilege escalation.

Affected Systems

All Linux kernel configurations that enable the MX.3 DCP crypto driver with CONFIG_NEED_SG_DMA_LENGTH active are affected. The flaw exists in the kernel source for all versions up to the latest patch that included the fix, regardless of vendor distribution; any distribution that has not applied the kernel commit identified by the referenced Git references is potentially vulnerable.

Risk and Exploitability

Because the bug only alters the length passed to the cryptographic routine, remote exploitation is not evident. The vulnerability is a moderate‑severity flaw: it is unlikely to be exploited without privileged or local access, and it does not appear in the CISA KEV catalog. Attackers who can arrange for victim processes to use the affected crypto path may induce data corruption, but not arbitrary code execution. The absence of an EPSS score or CVSS rating limits quantitative risk assessment, yet the defect does pose a non‑negligible risk to data integrity in affected systems.

Generated by OpenCVE AI on September 4, 2026 at 18:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that incorporates the patch for mxs-dcp.
  • Verify that the kernel configuration does not enable CONFIG_NEED_SG_DMA_LENGTH for the mxs-dcp driver unless required, or reconfigure the driver to map scatterlists correctly.
  • If immediate kernel upgrade is impossible, disable the mxs-dcp crypto driver module or rebuild the kernel without this driver to eliminate the flaw.

Generated by OpenCVE AI on September 4, 2026 at 18:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-193
CWE-665

Fri, 04 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: crypto: mxs-dcp - fix source scatterlist length access mxs_dcp_aes_block_crypt() uses sg_dma_len() without mapping the source scatterlist with dma_map_sg() first. Therefore, sg_dma_len() is invalid and could return zero or a stale DMA length, causing encryption and decryption to process the wrong number of bytes when CONFIG_NEED_SG_DMA_LENGTH=y. Use the original scatterlist length instead.
Title crypto: mxs-dcp - fix source scatterlist length access
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-04T15:54:36.250Z

Reserved: 2026-08-26T14:34:25.796Z

Link: CVE-2026-80831

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T16:18:11.287

Modified: 2026-09-04T16:18:11.287

Link: CVE-2026-80831

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T19:00:14Z

Weaknesses