# CVE-2025-39869: dmaengine: ti: edma: Fix memory allocation size for queue\_priority\_map

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-09-23T06:00:43.852Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 7d4de60d6db02d9b01d5890d5156b04fad65d07a; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< d722de80ce037dccf6931e778f4a46499d51bdf9; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 301a96cc4dc006c9a285913d301e681cfbf7edb6; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 5e462fa0dfdb52b3983cf41532d3d4c7d63e2f93; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 1baed10553fc8b388351d8fc803e3ae6f1a863bc; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 069fd1688c57c0cc8a3de64d108579b31676f74b; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< d5e82f3f2c918d446df46e8d65f8083fd97cdec5; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< e63419dbf2ceb083c1651852209c7f048089ac0f
- Anyone running Linux 4.4

## Description

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: ti: edma: Fix memory allocation size for queue\_priority\_map

Fix a critical memory allocation bug in edma\_setup\_from\_hw() where
queue\_priority\_map was allocated with insufficient memory. The code
declared queue\_priority\_map as s8 (\*)\[2\] (pointer to array of 2 s8),
but allocated memory using sizeof(s8) instead of the correct size.

This caused out-of-bounds memory writes when accessing:
  queue\_priority\_map\[i\]\[0\] = i;
  queue\_priority\_map\[i\]\[1\] = i;

The bug manifested as kernel crashes with "Oops - undefined instruction"
on ARM platforms (BeagleBoard-X15) during EDMA driver probe, as the
memory corruption triggered kernel hardening features on Clang.

Change the allocation to use sizeof(\*queue\_priority\_map) which
automatically gets the correct size for the 2D array structure.

## Affected and fixed versions

- Linux: \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 7d4de60d6db02d9b01d5890d5156b04fad65d07a; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< d722de80ce037dccf6931e778f4a46499d51bdf9; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 301a96cc4dc006c9a285913d301e681cfbf7edb6; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 5e462fa0dfdb52b3983cf41532d3d4c7d63e2f93; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 1baed10553fc8b388351d8fc803e3ae6f1a863bc; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 069fd1688c57c0cc8a3de64d108579b31676f74b; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< d5e82f3f2c918d446df46e8d65f8083fd97cdec5; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< e63419dbf2ceb083c1651852209c7f048089ac0f (cvelist)
- Linux: 4.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39869. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39869.md
Affected: Linux >= 2b6b3b7420190888793c49e97276e1e73bd7eaed, < 7d4de60d6db02d9b01d5890d5156b04fad65d07a; >= 2b6b3b7420190888793c49e97276e1e73bd7eaed, < d722de80ce037dccf6931e778f4a46499d51bdf9; >= 2b6b3b7420190888793c49e97276e1e73bd7eaed, < 301a96cc4dc006c9a285913d301e681cfbf7edb6; >= 2b6b3b7420190888793c49e…
Fixed in: Linux 7d4de60d6db02d9b01d5890d5156b04fad65d07a, Linux 301a96cc4dc006c9a285913d301e681cfbf7edb6, Linux 5e462fa0dfdb52b3983cf41532d3d4c7d63e2f93, Linux 1baed10553fc8b388351d8fc803e3ae6f1a863bc, Linux 069fd1688c57c0cc8a3de64d108579b31676f74b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39869 being exploited?

There is no confirmed exploitation: CVE-2025-39869 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-39869?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-39869?

Linux \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 7d4de60d6db02d9b01d5890d5156b04fad65d07a; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< d722de80ce037dccf6931e778f4a46499d51bdf9; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 301a96cc4dc006c9a285913d301e681cfbf7edb6; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 5e462fa0dfdb52b3983cf41532d3d4c7d63e2f93; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 1baed10553fc8b388351d8fc803e3ae6f1a863bc; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< 069fd1688c57c0cc8a3de64d108579b31676f74b; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< d5e82f3f2c918d446df46e8d65f8083fd97cdec5; \>= 2b6b3b7420190888793c49e97276e1e73bd7eaed, \< e63419dbf2ceb083c1651852209c7f048089ac0f; Linux 4.4.

### Is there a fix for CVE-2025-39869?

Yes. Fixed in Linux 7d4de60d6db02d9b01d5890d5156b04fad65d07a, Linux 301a96cc4dc006c9a285913d301e681cfbf7edb6, Linux 5e462fa0dfdb52b3983cf41532d3d4c7d63e2f93, Linux 1baed10553fc8b388351d8fc803e3ae6f1a863bc, Linux 069fd1688c57c0cc8a3de64d108579b31676f74b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-39869?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/7d4de60d6db02d9b01d5890d5156b04fad65d07a>
- patch: <https://git.kernel.org/stable/c/d722de80ce037dccf6931e778f4a46499d51bdf9>
- patch: <https://git.kernel.org/stable/c/301a96cc4dc006c9a285913d301e681cfbf7edb6>
- patch: <https://git.kernel.org/stable/c/5e462fa0dfdb52b3983cf41532d3d4c7d63e2f93>
- patch: <https://git.kernel.org/stable/c/1baed10553fc8b388351d8fc803e3ae6f1a863bc>
- patch: <https://git.kernel.org/stable/c/069fd1688c57c0cc8a3de64d108579b31676f74b>
- patch: <https://git.kernel.org/stable/c/d5e82f3f2c918d446df46e8d65f8083fd97cdec5>
- patch: <https://git.kernel.org/stable/c/e63419dbf2ceb083c1651852209c7f048089ac0f>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39869>

HTML: <https://flawdb.com/CVE-2025-39869> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39869>
