# CVE-2026-53229: net/mlx5e: xsk: Fix DMA and xdp\_frame leak on XDP\_TX xmit failure

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-06-25 · Modified: 2026-10-30
- Aliases: UBUNTU-CVE-2026-53229, DEBIAN-CVE-2026-53229, CGA-3frw-52mq-gm72, CGA-3rrx-5vpq-2823, CGA-63f4-g96q-54p2, CGA-67vq-4wc5-wwwm, CGA-cfj7-53w9-wgr4, CGA-ch9x-wmcc-48h4, CGA-cjxw-9frj-wpxq, CGA-cqmx-9mh7-h9wp, CGA-hv2c-4m99-qrf3, CGA-ph4v-2c8g-7wrh, CGA-pr2q-8m2q-f2vr, CGA-rvqm-j932-3p37, CGA-vhcr-4742-544q
- Record: https://cvemate.com/vulnerability/CVE-2026-53229 · JSON: https://cvemate.com/vulnerability/CVE-2026-53229/json

## Description

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

net/mlx5e: xsk: Fix DMA and xdp_frame leak on XDP_TX xmit failure

In the XSK branch of mlx5e_xmit_xdp_buff(), when sq->xmit_xdp_frame()
returns false (e.g. XDPSQ is full), the function returns without
unmapping the DMA address or freeing the xdp_frame allocated by
xdp_convert_zc_to_xdp_frame(). The xdpi_fifo push only happens on
success, so the completion path cannot recover these entries.

With CONFIG_DMA_API_DEBUG=y, the leak surfaces on driver unbind:

  DMA-API: pci 0000:08:00.0: device driver has pending DMA
  allocations while released from device [count=1116]
  One of leaked entries details: [device address=0x000000010ffd7028]
  [size=1534 bytes] [mapped with DMA_TO_DEVICE] [mapped as phy]
  WARNING: kernel/dma/debug.c:881 at dma_debug_device_change+0x127/0x180
  ...
  DMA-API: Mapped at:
   debug_dma_map_phys+0x4b/0xd0
   dma_map_phys+0xfd/0x2d0
   mlx5e_xdp_handle+0x5ae/0xac0 [mlx5_core]
   mlx5e_xsk_skb_from_cqe_mpwrq_linear+0xc4/0x170 [mlx5_core]
   mlx5e_handle_rx_cqe_mpwrq+0xc1/0x290 [mlx5_core]

Add the missing unmap + xdp_return_frame, matching the cleanup already
done in mlx5e_xdp_xmit(). has_frags is rejected earlier in this branch,
so no per-frag unmap is needed.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.479%, percentile 42.975%, 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 181)

- chainguard linux-aws-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-aws-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-azure-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-azure-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-gcp-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-gcp-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-gcp-6.18-bootc-boot-installed (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-qemu-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-6.18-bootc-boot-installed (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-melange (Chainguard): \< 6.18.38-r0
- chainguard linux-vmware-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-vmware-6.18 (Chainguard): \< 6.18.38-r0
- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.192-1 \| \< 6.12.94-1 \| \< 7.0.13-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-146.146 \| \< 7.0.0-31.31
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1066.69 \| \< 7.0.0-1012.12
- 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)

## References (first 20 of 33)

- <https://git.kernel.org/stable/c/7b3eeba50fbc3b45f279037c29a87a90e8bac1e1>
- <https://git.kernel.org/stable/c/2789b74ae1f4b68333c9d5eec2f3354d07b16e61>
- <https://git.kernel.org/stable/c/0aabca726b43d833721034e97d99efcc8237b22a>
- <https://git.kernel.org/stable/c/b69004f5a6ad32da84d8aa5b23b9c0caafe6252e>
- <https://ubuntu.com/security/CVE-2026-53229>
- <https://www.cve.org/CVERecord?id=CVE-2026-53229>
- <https://git.kernel.org/linus/b69004f5a6ad32da84d8aa5b23b9c0caafe6252e>
- <https://ubuntu.com/security/notices/USN-8726-1>
- <https://ubuntu.com/security/notices/USN-8727-1>
- <https://ubuntu.com/security/notices/USN-8728-1>
- <https://ubuntu.com/security/notices/USN-8760-1>
- <https://ubuntu.com/security/notices/USN-8726-2>
- <https://ubuntu.com/security/notices/USN-8726-3>
- <https://ubuntu.com/security/notices/USN-8800-1>
- <https://ubuntu.com/security/notices/USN-8760-2>
- <https://ubuntu.com/security/notices/USN-8728-2>
- <https://ubuntu.com/security/notices/USN-8726-4>
- <https://ubuntu.com/security/notices/USN-8728-3>
- <https://ubuntu.com/security/notices/USN-8886-1>
- <https://ubuntu.com/security/notices/USN-8903-1>

---

Data as of 2026-12-05T03:52:05.036Z. 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
