CVE-2026-139514: dmaengine: ste_dma40: Fix memcpy channel parsing

Published Nov 30, 2026
·
Updated

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

dmaengine: stedma40: Fix memcpy channel parsing

d40ofprobe() validates the memcpy-channels property against D40MEMCPYMAXCHANS, but reads the property directly into a smaller global array. A long property can therefore overwrite adjacent data. The mutable global also lets a later DMA40 instance replace the memcpy channel mapping used for future allocations on an earlier instance.

Store the mapping in the per-device platform data, validate the property against that storage, and check the property read result. The property is required and d40probe() always populates the platform data, so remove the obsolete global mapping and fallback.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
Description

Frequently Asked Questions

1

What conditions are required for this issue to be reachable?

The affected system must use the DMA40 driver and provide a memcpy-channels device-tree property. A property containing more channel entries than the driver's smaller destination array can overwrite adjacent data during parsing.

2

Are multi-instance DMA40 deployments affected differently?

Yes. Before the fix, memcpy channel mappings were held in mutable global storage, so probing a later DMA40 instance could replace the mapping used for future allocations on an earlier instance.

3

Is there a configuration fallback if memcpy-channels is absent?

No. The driver treats memcpy-channels as required, and the corrected implementation relies on platform data populated during probing rather than a global mapping or fallback.

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