AZL-117190: CVE-2026-139514 affecting package kernel 6.6.161.1-1
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In ste_dma40, store the memcpy-channel mapping in per-device platform data, validate the memcpy-channels property against that storage, check the property-read result, and remove the obsolete global mapping and fallback.
Event History
Frequently Asked Questions
Which deployments are most relevant to this issue?
The issue is relevant to systems using the STE DMA40 driver with device-tree configuration that supplies the required memcpy-channels property. Systems without a DMA40 instance are not indicated by the provided information as affected by this driver path.
How can I assess whether a system may be exposed?
Check whether the system is running the Azure Linux kernel package identified as 6.6.161.1-1 and whether its device-tree configuration includes an STE DMA40 device with a memcpy-channels property. The vulnerable path processes that property during DMA40 device probing.