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

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-06-25T08:39:28.552Z
- **Modified:** 2026-10-30T13:19:12.353Z

## Who should check

- Anyone running Linux \>= 84a0a2310d6de247335574649726cb000c7c0074, \< bf0247d34d79d2740b3f1d6cc44dbd38ab2b169e; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< 3bad189a31eb78575ea69f093e8ef5b7e3e8c832; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< 7b3eeba50fbc3b45f279037c29a87a90e8bac1e1; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< 2789b74ae1f4b68333c9d5eec2f3354d07b16e61; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< 0aabca726b43d833721034e97d99efcc8237b22a; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< b69004f5a6ad32da84d8aa5b23b9c0caafe6252e
- Anyone running Linux 5.3

## Description

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.

## Affected and fixed versions

- Linux: \>= 84a0a2310d6de247335574649726cb000c7c0074, \< bf0247d34d79d2740b3f1d6cc44dbd38ab2b169e; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< 3bad189a31eb78575ea69f093e8ef5b7e3e8c832; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< 7b3eeba50fbc3b45f279037c29a87a90e8bac1e1; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< 2789b74ae1f4b68333c9d5eec2f3354d07b16e61; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< 0aabca726b43d833721034e97d99efcc8237b22a; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< b69004f5a6ad32da84d8aa5b23b9c0caafe6252e (cvelist)
- Linux: 5.3 (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-2026-53229. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53229.md
Affected: Linux >= 84a0a2310d6de247335574649726cb000c7c0074, < bf0247d34d79d2740b3f1d6cc44dbd38ab2b169e; >= 84a0a2310d6de247335574649726cb000c7c0074, < 3bad189a31eb78575ea69f093e8ef5b7e3e8c832; >= 84a0a2310d6de247335574649726cb000c7c0074, < 7b3eeba50fbc3b45f279037c29a87a90e8bac1e1; >= 84a0a2310d6de2473355746…
Fixed in: Linux 3bad189a31eb78575ea69f093e8ef5b7e3e8c832, Linux 7b3eeba50fbc3b45f279037c29a87a90e8bac1e1, Linux 2789b74ae1f4b68333c9d5eec2f3354d07b16e61, Linux 0aabca726b43d833721034e97d99efcc8237b22a

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-2026-53229 being exploited?

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

### How serious is CVE-2026-53229?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-53229?

Linux \>= 84a0a2310d6de247335574649726cb000c7c0074, \< bf0247d34d79d2740b3f1d6cc44dbd38ab2b169e; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< 3bad189a31eb78575ea69f093e8ef5b7e3e8c832; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< 7b3eeba50fbc3b45f279037c29a87a90e8bac1e1; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< 2789b74ae1f4b68333c9d5eec2f3354d07b16e61; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< 0aabca726b43d833721034e97d99efcc8237b22a; \>= 84a0a2310d6de247335574649726cb000c7c0074, \< b69004f5a6ad32da84d8aa5b23b9c0caafe6252e; Linux 5.3.

### Is there a fix for CVE-2026-53229?

Yes. Fixed in Linux 3bad189a31eb78575ea69f093e8ef5b7e3e8c832, Linux 7b3eeba50fbc3b45f279037c29a87a90e8bac1e1, Linux 2789b74ae1f4b68333c9d5eec2f3354d07b16e61, Linux 0aabca726b43d833721034e97d99efcc8237b22a. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-53229?

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/7b3eeba50fbc3b45f279037c29a87a90e8bac1e1>
- patch: <https://git.kernel.org/stable/c/2789b74ae1f4b68333c9d5eec2f3354d07b16e61>
- patch: <https://git.kernel.org/stable/c/0aabca726b43d833721034e97d99efcc8237b22a>
- patch: <https://git.kernel.org/stable/c/b69004f5a6ad32da84d8aa5b23b9c0caafe6252e>
- other: <https://git.kernel.org/stable/c/bf0247d34d79d2740b3f1d6cc44dbd38ab2b169e>
- other: <https://git.kernel.org/stable/c/3bad189a31eb78575ea69f093e8ef5b7e3e8c832>

## 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-2026-53229>

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