CVE-2026-143442: dmaengine: ste_dma40: Fix event group bounds
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: stedma40: Fix event group bounds
The devtype validation can allow values whose derived event group has no matching physical channel pair. d40allocatechannel() then indexes phyres with j + eventgroup 2, and d40setpriort() uses the same group to select priority and realtime registers.
The physical-mode validation also compares devtype with the number of physical channels. However, devtype identifies an event line: DB8500 has eight physical channels but 64 source and 64 destination event lines. The event group determines which physical channel pair can serve an event, so the physical channel count is not a valid devtype limit.
Reject devtype values outside the hardware event-group range, remove the incorrect physical channel count limit, and stop the physical-channel search before a partial final channel group can index past phyres.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Linux kernel ste_dma40 driver, reject dev_type values outside the hardware event-group range and stop physical-channel matching before a partial final channel group can index past phy_res.
Event History
Frequently Asked Questions
What configurations are exposed to this issue?
Systems using the Linux kernel ste_dma40 DMA engine driver are exposed when a supplied dev_type maps to an event group without a corresponding physical channel pair, or when a partial final channel group is searched.
What is the impact of an invalid dev_type value?
The driver can index the phy_res array using an out-of-range event group during channel allocation. The same invalid group can also select incorrect priority and realtime registers in __d40_set_prio_rt().
How is the issue addressed?
The fix rejects dev_type values outside the hardware event-group range, removes the incorrect validation against the physical channel count, and prevents searches from reaching a partial final channel group.