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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-06-18 · Modified: 2026-10-30
- Aliases: UBUNTU-CVE-2025-38042, DEBIAN-CVE-2025-38042, CGA-24q5-x5j7-3c3h, CGA-24wr-48r2-4gpx, CGA-27vm-gjh6-pq25, CGA-29wq-g4ww-g4g8, CGA-2fqq-xpfw-xx5g, CGA-2mj7-2v47-xwhr, CGA-2pcp-ch7q-w29g, CGA-2v72-37j2-fjrg, CGA-2v8g-fg52-3rm7, CGA-3439-636m-39w7, CGA-39x7-p3mj-3m83, CGA-3cgm-4mm4-x4cm, CGA-3gwr-m5jx-8ggr, CGA-3j5j-cx5g-3qwg, CGA-3p3q-89rq-w3qg, CGA-3qc5-xr46-8mvm, CGA-3xpw-mc4c-7m28, CGA-42mg-vjrp-5qp9, CGA-4cc6-x583-7gxv, CGA-4pxw-wxmr-88jx, CGA-4wrm-58qp-9wh2, CGA-4wxw-683v-v9mq, CGA-52g9-8f2g-26hp, CGA-56m5-w58v-27w4, CGA-57c2-rv9c-4gv7, CGA-5gjm-mfj2-6jq3, CGA-5qff-73m5-vfjw, CGA-67qq-v946-f2mv, CGA-69c3-v699-jgcg, CGA-6hwg-58mf-m336, CGA-6j98-q5mj-922q, CGA-72cw-mv6x-p5gp, CGA-72rr-37f6-vf66, CGA-787h-q6w6-vv8v, CGA-7982-5wc9-fpqp, CGA-7wcp-fq64-wf34, CGA-85rv-5p38-wxv2, CGA-88v4-6xwr-4wrf, CGA-89x9-5c5r-q2g8, CGA-8c96-mm5m-gm7r, CGA-8fj3-mq9c-77h9, CGA-8h8q-2x27-j78q, CGA-8xrg-g4rq-6h9x, CGA-935c-vxrw-qj75, CGA-9hrv-cvcj-62gr, CGA-9jc6-vc24-gr56, CGA-9jqf-55r5-xh2q, CGA-9r6p-xqv9-gmf3, CGA-9wr9-w83m-44fh, CGA-c2vm-4mgc-5wch, CGA-c7h4-vvf8-vjxh, CGA-c83m-h55g-jwj9, CGA-c8v9-q8mq-hxrr, CGA-ch6c-83cw-whcq, CGA-cjqg-97qr-5g3w, CGA-f579-j2j2-5vvh, CGA-g388-m853-6774, CGA-g4f9-j4xw-rrx5, CGA-g764-5x2v-7vvx, CGA-g85f-v377-vwx9, CGA-gfgc-3wqq-2pm3, CGA-ghpc-gxfx-7fxm, CGA-gv7q-vm7h-9cmj, CGA-h93p-7w4r-95v8, CGA-hc27-r8vm-gw94, CGA-hfq3-cg73-6jmv, CGA-hg36-rq3h-f3jp, CGA-hg4r-hffc-5672, CGA-hqf9-9m8r-322f, CGA-hrqq-7qw2-2jj2, CGA-j5h3-c325-r33f, CGA-jh97-p99h-83mr, CGA-jxfq-gvfm-6qjw, CGA-m292-7q9p-m8g2, CGA-m37m-284g-vx28, CGA-m4hw-7qp9-g5rc, CGA-m6p8-gp5c-q3c3, CGA-m9mc-h8wr-3859, CGA-mc3x-6w28-96mq, CGA-mc8c-g7q9-3cf9, CGA-mfvv-7fjw-3jm3, CGA-mpg3-9x2g-h47p, CGA-mw3v-692r-3vq3, CGA-p2rg-rgfh-4468, CGA-p5jf-wgm9-chx4, CGA-p63h-c433-mvm5, CGA-p9g6-285x-wxr5, CGA-pg2m-8gh7-cx7c, CGA-ph9r-v79r-p3v7, CGA-prxf-vfcm-9vgf, CGA-pw6r-rfjw-9849, CGA-qjg2-39c6-g7w2, CGA-rchj-mmjj-772r, CGA-rf24-g48v-9hf7, CGA-rfjq-j6r6-2g3r, CGA-rgr2-44qp-4hwg, CGA-v47v-m63h-j67h, CGA-v7g8-268v-3jx9, CGA-vcrw-8f5r-w8rc, CGA-vfgc-cxf6-v45w, CGA-vp3v-pxc9-77w9, CGA-vpmp-rh83-3634, CGA-vx99-gj6m-vwpq, CGA-w5v6-c3qq-vvvx, CGA-w6cv-9rgm-qrjw, CGA-w7jg-w439-3x7p, CGA-w886-r9qv-gpx9, CGA-w9cr-8552-84cf, CGA-wcgc-pjhr-4wjx, CGA-wx5g-27cq-6g59, CGA-x4f8-6rc3-xm43, CGA-x4j7-mgv2-343w, CGA-x6v3-v5xp-cx28, CGA-xc62-j62r-frwp, CGA-xcxg-4379-3cx7, CGA-xgh3-w834-rg3g, CGA-xprp-3xm3-8jx9, CGA-xvc5-qj62-72v7
- Record: https://cvemate.com/vulnerability/CVE-2025-38042 · JSON: https://cvemate.com/vulnerability/CVE-2025-38042/json

## Description

```text
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---
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.243%, percentile 16.507%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 157)

- chainguard linux-aws-6.12 (Chainguard): \< 6.12.60-r4 \| \< 6.12.65-r0 \| \< 6.12.65-r2 \| \< 6.12.77-r1 \| \< 6.12.74-r0 \| \< 6.12.77-r2 \| \< 6.12.72-r1 \| \< 6.12.68-r1 \| \< 6.12.70-r0 \| \< 6.12.76-r0 \| \< 6.12.62-r1 \| \< 6.12.80-r0 \| \< 6.12.65-r1 \| \< 6.12.78-r0 \| \< 6.12.63-r0 \| \< 6.12.74-r1 \| \< 6.12.67-r0 \| \< 6.12.68-r0 \| \< 6.12.69-r0 \| \< 6.12.62-r2 \| \< 6.12.57-r2 \| \< 6.12.62-r0 \| \< 6.12.71-r0 \| \< 6.12.66-r0 \| \< 6.12.77-r0 \| \< 6.12.72-r0
- chainguard linux-azure-6.12 (Chainguard): \< 6.12.65-r2 \| \< 6.12.65-r3 \| \< 6.12.67-r0 \| \< 6.12.68-r0 \| \< 6.12.60-r4 \| \< 6.12.78-r0 \| \< 6.12.74-r1 \| \< 6.12.62-r2 \| \< 6.12.63-r0 \| \< 6.12.60-r3 \| \< 6.12.71-r0 \| \< 6.12.66-r0 \| \< 6.12.76-r0 \| \< 6.12.62-r1 \| \< 6.12.77-r2 \| \< 6.12.77-r0 \| \< 6.12.69-r0 \| \< 6.12.74-r0 \| \< 6.12.80-r0 \| \< 6.12.70-r0 \| \< 6.12.62-r0 \| \< 6.12.65-r4 \| \< 6.12.72-r0 \| \< 6.12.65-r1 \| \< 6.12.57-r2 \| \< 6.12.77-r1
- chainguard linux-gcp-6.12 (Chainguard): \< 6.12.65-r2 \| \< 6.12.74-r0 \| \< 6.12.74-r1 \| \< 6.12.67-r0 \| \< 6.12.60-r4 \| \< 6.12.80-r0 \| \< 6.12.70-r0 \| \< 6.12.72-r0 \| \< 6.12.66-r0 \| \< 6.12.68-r0 \| \< 6.12.60-r3 \| \< 6.12.57-r2 \| \< 6.12.69-r0 \| \< 6.12.62-r2 \| \< 6.12.68-r1 \| \< 6.12.65-r1 \| \< 6.12.78-r0 \| \< 6.12.62-r1 \| \< 6.12.71-r0 \| \< 6.12.62-r0 \| \< 6.12.65-r0 \| \< 6.12.77-r0 \| \< 6.12.77-r2 \| \< 6.12.76-r0 \| \< 6.12.77-r1 \| \< 6.12.63-r0
- chainguard linux-qemu-6.12 (Chainguard): \< 6.12.74-r1 \| \< 6.12.74-r0 \| \< 6.12.65-r2 \| \< 6.12.66-r0 \| \< 6.12.69-r0 \| \< 6.12.77-r1 \| \< 6.12.71-r0 \| \< 6.12.72-r0 \| \< 6.12.77-r0 \| \< 6.12.65-r1 \| \< 6.12.76-r0 \| \< 6.12.78-r0 \| \< 6.12.77-r2 \| \< 6.12.80-r0 \| \< 6.12.67-r0 \| \< 6.12.70-r0 \| \< 6.12.68-r0
- chainguard linux-vmware-6.12 (Chainguard): \< 6.12.78-r0 \| \< 6.12.69-r0 \| \< 6.12.66-r0 \| \< 6.12.77-r0 \| \< 6.12.65-r1 \| \< 6.12.74-r0 \| \< 6.12.72-r0 \| \< 6.12.68-r1 \| \< 6.12.68-r0 \| \< 6.12.77-r2 \| \< 6.12.76-r0 \| \< 6.12.80-r0 \| \< 6.12.65-r2 \| \< 6.12.71-r0 \| \< 6.12.74-r1 \| \< 6.12.77-r1 \| \< 6.12.70-r0 \| \< 6.12.67-r0
- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.192-1 \| \< 6.12.115-2 \| \< 6.16.3-1
- debian linux-6.12 (Debian): \< 6.12.115-2~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-151.151
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): \< 6.14.0-1013.13~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 25)

- <https://git.kernel.org/stable/c/d0dd9d133ef8fdc894e0be9aa27dc49ef5f813cb>
- <https://git.kernel.org/stable/c/0da30874729baeb01889b0eca16cfda122687503>
- <https://ubuntu.com/security/CVE-2025-38042>
- <https://www.cve.org/CVERecord?id=CVE-2025-38042>
- <https://git.kernel.org/linus/0da30874729baeb01889b0eca16cfda122687503>
- <https://ubuntu.com/security/notices/USN-7769-1>
- <https://ubuntu.com/security/notices/USN-7770-1>
- <https://ubuntu.com/security/notices/USN-7771-1>
- <https://ubuntu.com/security/notices/USN-7769-2>
- <https://ubuntu.com/security/notices/USN-7769-3>
- <https://ubuntu.com/security/notices/USN-7789-1>
- <https://ubuntu.com/security/notices/USN-7789-2>
- <https://security-tracker.debian.org/tracker/CVE-2025-38042>
- <https://git.kernel.org/stable/c/40d66e0adde4b8ec2fad01f847072af792aeccea>
- <https://git.kernel.org/stable/c/929995c980da57beeb415744c7c271a9fde80fa9>
- <https://git.kernel.org/stable/c/575c1b6c5574196071cd8ee672e87641ef15778f>
- <https://ubuntu.com/security/notices/USN-9173-1>
- <https://ubuntu.com/security/notices/USN-9175-1>
- <https://ubuntu.com/security/notices/USN-9174-1>
- <https://ubuntu.com/security/notices/USN-9183-1>

---

Data as of 2026-12-05T06:42:48.778Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
