# CVE-2025-38042: dmaengine: ti: k3-udma-glue: Drop skip\_fdq argument from k3\_udma\_glue\_reset\_rx\_chn

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.28% (percentile 13, 2026-11-28)
- **Published:** 2025-06-18T09:33:27.214Z
- **Modified:** 2026-10-30T13:18:00.000Z

## Who should check

- Anyone running Linux \>= d702419134133db1eab2067dc6ea5723467fd917, \< 575c1b6c5574196071cd8ee672e87641ef15778f; \>= d702419134133db1eab2067dc6ea5723467fd917, \< 40d66e0adde4b8ec2fad01f847072af792aeccea; \>= d702419134133db1eab2067dc6ea5723467fd917, \< 929995c980da57beeb415744c7c271a9fde80fa9; \>= d702419134133db1eab2067dc6ea5723467fd917, \< d0dd9d133ef8fdc894e0be9aa27dc49ef5f813cb; \>= d702419134133db1eab2067dc6ea5723467fd917, \< 0da30874729baeb01889b0eca16cfda122687503
- Anyone running Linux 5.6

## Description

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

dmaengine: ti: k3-udma-glue: Drop skip\_fdq argument from k3\_udma\_glue\_reset\_rx\_chn

The user of k3\_udma\_glue\_reset\_rx\_chn() e.g. ti\_am65\_cpsw\_nuss can
run on multiple platforms having different DMA architectures.
On some platforms there can be one FDQ for all flows in the RX channel
while for others there is a separate FDQ for each flow in the RX channel.

So far we have been relying on the skip\_fdq argument of
k3\_udma\_glue\_reset\_rx\_chn().

Instead of relying on the user to provide this information, infer it
based on DMA architecture during k3\_udma\_glue\_request\_rx\_chn() and save it
in an internal flag 'single\_fdq'. Use that flag at
k3\_udma\_glue\_reset\_rx\_chn() to deicide if the FDQ needs
to be cleared for every flow or just for flow 0.

Fixes the below issue on ti\_am65\_cpsw\_nuss driver on AM62-SK.

\> ip link set eth1 down
\> ip link set eth0 down
\> ethtool -L eth0 rx 8
\> ip link set eth0 up
\> modprobe -r ti\_am65\_cpsw\_nuss

\[  103.045726\] ------------\[ cut here \]------------
\[  103.050505\] k3\_knav\_desc\_pool size 512000 != avail 64000
\[  103.050703\] WARNING: CPU: 1 PID: 450 at drivers/net/ethernet/ti/k3-cppi-desc-pool.c:33 k3\_cppi\_desc\_pool\_destroy+0xa0/0xa8 \[k3\_cppi\_desc\_pool\]
\[  103.068810\] Modules linked in: ti\_am65\_cpsw\_nuss(-) k3\_cppi\_desc\_pool snd\_soc\_hdmi\_codec crct10dif\_ce snd\_soc\_simple\_card snd\_soc\_simple\_card\_utils display\_connector rtc\_ti\_k3 k3\_j72xx\_bandgap tidss drm\_client\_lib snd\_soc\_davinci\_mcas
p drm\_dma\_helper tps6598x phylink snd\_soc\_ti\_udma rti\_wdt drm\_display\_helper snd\_soc\_tlv320aic3x\_i2c typec at24 phy\_gmii\_sel snd\_soc\_ti\_edma snd\_soc\_tlv320aic3x sii902x snd\_soc\_ti\_sdma sa2ul omap\_mailbox drm\_kms\_helper authenc cfg80211 r
fkill fuse drm drm\_panel\_orientation\_quirks backlight ip\_tables x\_tables ipv6 \[last unloaded: k3\_cppi\_desc\_pool\]
\[  103.119950\] CPU: 1 UID: 0 PID: 450 Comm: modprobe Not tainted 6.13.0-rc7-00001-g9c5e3435fa66 \#1011
\[  103.119968\] Hardware name: Texas Instruments AM625 SK (DT)
\[  103.119974\] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[  103.119983\] pc : k3\_cppi\_desc\_pool\_destroy+0xa0/0xa8 \[k3\_cppi\_desc\_pool\]
\[  103.148007\] lr : k3\_cppi\_desc\_pool\_destroy+0xa0/0xa8 \[k3\_cppi\_desc\_pool\]
\[  103.154709\] sp : ffff8000826ebbc0
\[  103.158015\] x29: ffff8000826ebbc0 x28: ffff0000090b6300 x27: 0000000000000000
\[  103.165145\] x26: 0000000000000000 x25: 0000000000000000 x24: ffff0000019df6b0
\[  103.172271\] x23: ffff0000019df6b8 x22: ffff0000019df410 x21: ffff8000826ebc88
\[  103.179397\] x20: 000000000007d000 x19: ffff00000a3b3000 x18: 0000000000000000
\[  103.186522\] x17: 0000000000000000 x16: 0000000000000000 x15: 000001e8c35e1cde
\[  103.193647\] x14: 0000000000000396 x13: 000000000000035c x12: 0000000000000000
\[  103.200772\] x11: 000000000000003a x10: 00000000000009c0 x9 : ffff8000826eba20
\[  103.207897\] x8 : ffff0000090b6d20 x7 : ffff00007728c180 x6 : ffff00007728c100
\[  103.215022\] x5 : 0000000000000001 x4 : ffff000000508a50 x3 : ffff7ffff6146000
\[  103.222147\] x2 : 0000000000000000 x1 : e300b4173ee6b200 x0 : 0000000000000000
\[  103.229274\] Call trace:
\[  103.231714\]  k3\_cppi\_desc\_pool\_destroy+0xa0/0xa8 \[k3\_cppi\_desc\_pool\] (P)
\[  103.238408\]  am65\_cpsw\_nuss\_free\_rx\_chns+0x28/0x4c \[ti\_am65\_cpsw\_nuss\]
\[  103.244942\]  devm\_action\_release+0x14/0x20
\[  103.249040\]  release\_nodes+0x3c/0x68
\[  103.252610\]  devres\_release\_all+0x8c/0xdc
\[  103.256614\]  device\_unbind\_cleanup+0x18/0x60
\[  103.260876\]  device\_release\_driver\_internal+0xf8/0x178
\[  103.266004\]  driver\_detach+0x50/0x9c
\[  103.269571\]  bus\_remove\_driver+0x6c/0xbc
\[  103.273485\]  driver\_unregister+0x30/0x60
\[  103.277401\]  platform\_driver\_unregister+0x14/0x20
\[  103.282096\]  am65\_cpsw\_nuss\_driver\_exit+0x18/0xff4 \[ti\_am65\_cpsw\_nuss\]
\[  103.288620\]  \_\_arm64\_sys\_delete\_module+0x17c/0x25c
\[  103.293404\]  invoke\_syscall+0x44/0x100
\[  103.297149\]  el0\_svc\_common.constprop.0+0xc0/0xe0
\[  103.301845\]  do\_el0\_svc+0x1c/0x28
\[  103.305155\]  el0\_svc+0x28/0x98
---truncated---

## Affected and fixed versions

- Linux: \>= d702419134133db1eab2067dc6ea5723467fd917, \< 575c1b6c5574196071cd8ee672e87641ef15778f; \>= d702419134133db1eab2067dc6ea5723467fd917, \< 40d66e0adde4b8ec2fad01f847072af792aeccea; \>= d702419134133db1eab2067dc6ea5723467fd917, \< 929995c980da57beeb415744c7c271a9fde80fa9; \>= d702419134133db1eab2067dc6ea5723467fd917, \< d0dd9d133ef8fdc894e0be9aa27dc49ef5f813cb; \>= d702419134133db1eab2067dc6ea5723467fd917, \< 0da30874729baeb01889b0eca16cfda122687503 (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 0da30874729baeb01889b0eca16cfda122687503 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38042.md
Affected: Linux >= d702419134133db1eab2067dc6ea5723467fd917, < 575c1b6c5574196071cd8ee672e87641ef15778f; >= d702419134133db1eab2067dc6ea5723467fd917, < 40d66e0adde4b8ec2fad01f847072af792aeccea; >= d702419134133db1eab2067dc6ea5723467fd917, < 929995c980da57beeb415744c7c271a9fde80fa9; >= d702419134133db1eab2067…
Fixed in: Linux 575c1b6c5574196071cd8ee672e87641ef15778f, Linux 40d66e0adde4b8ec2fad01f847072af792aeccea, Linux 929995c980da57beeb415744c7c271a9fde80fa9, Linux 0da30874729baeb01889b0eca16cfda122687503

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-38042 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= d702419134133db1eab2067dc6ea5723467fd917, \< 575c1b6c5574196071cd8ee672e87641ef15778f; \>= d702419134133db1eab2067dc6ea5723467fd917, \< 40d66e0adde4b8ec2fad01f847072af792aeccea; \>= d702419134133db1eab2067dc6ea5723467fd917, \< 929995c980da57beeb415744c7c271a9fde80fa9; \>= d702419134133db1eab2067dc6ea5723467fd917, \< d0dd9d133ef8fdc894e0be9aa27dc49ef5f813cb; \>= d702419134133db1eab2067dc6ea5723467fd917, \< 0da30874729baeb01889b0eca16cfda122687503; Linux 5.6.

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

Yes. Fixed in Linux 575c1b6c5574196071cd8ee672e87641ef15778f, Linux 40d66e0adde4b8ec2fad01f847072af792aeccea, Linux 929995c980da57beeb415744c7c271a9fde80fa9, Linux 0da30874729baeb01889b0eca16cfda122687503. Upgrade Linux to 0da30874729baeb01889b0eca16cfda122687503 or later.

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

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/d0dd9d133ef8fdc894e0be9aa27dc49ef5f813cb>
- patch: <https://git.kernel.org/stable/c/0da30874729baeb01889b0eca16cfda122687503>
- other: <https://git.kernel.org/stable/c/575c1b6c5574196071cd8ee672e87641ef15778f>
- other: <https://git.kernel.org/stable/c/40d66e0adde4b8ec2fad01f847072af792aeccea>
- other: <https://git.kernel.org/stable/c/929995c980da57beeb415744c7c271a9fde80fa9>

## 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-38042>

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