Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139514

dmaengine: ste_dma40: Fix memcpy channel parsing

Description

In the Linux kernel, the following vulnerability has been resolved: dmaengine: ste_dma40: Fix memcpy channel parsing d40_of_probe() validates the memcpy-channels property against D40_MEMCPY_MAX_CHANS, 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 d40_probe() always populates the platform data, so remove the obsolete global mapping and fallback.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • a7dacb68b35a193d9bdaabde1e4e98140d81a991 to < d23c160c9d42e7a0665519fadf75dc4a6e54abe6affected
  • a7dacb68b35a193d9bdaabde1e4e98140d81a991 to < 43ad2d1a301caf187aa3cdf443f05f57fc719a65affected
  • a7dacb68b35a193d9bdaabde1e4e98140d81a991 to < c5cd415a0bb86587c2e34bbe203d2cc33150a0adaffected
  • a7dacb68b35a193d9bdaabde1e4e98140d81a991 to < 8a68c0d3112b551dafe822fe384b0ac1881ee35aaffected
  • a7dacb68b35a193d9bdaabde1e4e98140d81a991 to < f2baf04a695de4f952513cb00ccf0338c6db2e00affected

Linux Linux

Default version status: affected

  • 3.11affected
  • 0 to < 3.11unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References