CVE-2026-80831: crypto: mxs-dcp - fix source scatterlist length access

Published Sep 4, 2026
·
Updated

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

crypto: mxs-dcp - fix source scatterlist length access

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

Use the original scatterlist length instead.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 4, 2026
CVE Published
via MITRE·03:54 PM
Data Sourced
via MITRE·03:54 PM
Description

Frequently Asked Questions

1

Which systems are affected by this issue?

The issue affects Linux kernel systems using the mxs-dcp crypto driver when CONFIG_NEED_SG_DMA_LENGTH is enabled. The faulty path is in mxs_dcp_aes_block_crypt().

2

What is the practical impact?

Encryption or decryption can process an incorrect number of bytes because the driver reads an invalid, zero, or stale DMA scatterlist length. This can occur when the source scatterlist has not been mapped with dma_map_sg() before sg_dma_len() is used.

3

How was the issue fixed?

The fix changes the driver to use the original scatterlist length rather than sg_dma_len() for the unmapped source scatterlist.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203