cvelo
P4 · InfoEPSS 0.2%

dmaengine: ste_dma40: Fix memcpy channel parsing

  • CVE-2026-139514
  • GHSA-vmv5-4gfj-qr9c
  • EUVD-2026-139220

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    3.11none stated
    before 3.11: not affectednone stated
    from 6.6.163 up to 6.6.*: not affectednone stated
    from 6.12.119 up to 6.12.*: not affectednone stated
    from 6.18.65 up to 6.18.*: not affectednone stated
    from 7.3.6 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.