CVE-2026-139514

dmaengine: ste_dma40: Fix memcpy channel parsing

Published Nov 30, 2026 CVSS 3.1 · 6.7 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux ste_dma40 driver reads the "memcpy-channels" property from the device firmware into a fixed-size global array that is smaller than the maximum allowed value. When a longer property is supplied, the read operation overflows the array and corrupts adjacent kernel memory. This memory corruption can disturb critical data structures, which may give an attacker the ability to alter kernel state. The description does not confirm that the overflow directly allows code execution, but corrupting kernel memory is a severe flaw that could be leveraged for privilege escalation if used in conjunction with other weaknesses.

Affected Systems

Any installation of the Linux kernel that includes the ste_dma40 DMA engine driver is potentially affected. The vendor information lists the driver within the mainline kernel, and no specific version range is supplied, so any kernel build that loads this driver at boot or during operation could be vulnerable. The flaw is triggered during the probe phase when the driver validates the "memcpy-channels" property, so any system that relies on this hardware will need assessment.

Risk and Exploitability

No CVSS score is listed for this vulnerability, and the EPSS score is reported as not available, making a quantitative estimate of exploitation probability impossible. The feature is not present in the CISA KEV catalog, implying no confirmed active exploits in the wild. Based on the description, the likely attack vector is local; an attacker would need the ability to influence the device firmware or supply a malformed "memcpy-channels" property, which typically requires privileged or root access on the affected system. Because the crash occurs in kernel mode, successful exploitation could lead to privilege escalation but the exact impact scope is uncertain without further evidence.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the ste_dma40 patch which stores the memcpy channel mapping in per-device platform data.
  • If a custom kernel is used, rebuild or reload the ste_dma40 driver after the kernel upgrade to ensure the driver no longer relies on the obsolete global mapping.
  • If the ste_dma40 device or driver is not required, disable or remove it from the kernel configuration to eliminate the attack surface.

Generated by OpenCVE AI on December 1, 2026 at 12:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
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.
Title dmaengine: ste_dma40: Fix memcpy channel parsing
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:35 PM