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.
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade bpftool6.12-debuginfoUpgrade bpftool6.18Upgrade kernel6.18-debuginfo-common-aarch64Upgrade bpftool6.18-debuginfoUpgrade kernel6.12-modules-extraUpgrade kernel-livepatch-6.12.94-123.174Upgrade kernel6.18-debuginfo-common-x86_64Upgrade kernel-livepatch-6.18.36-69.134Upgrade kernel6.12Upgrade kernel6.12-headersUpgrade python3-perf6.18-debuginfoUpgrade perf6.12Upgrade perf6.18Upgrade kernel6.18-modules-extra-commonUpgrade python3-perf6.18Upgrade kernel6.18-tools-debuginfoUpgrade kernel6.18-tools-develUpgrade perf6.18-debuginfoUpgrade kernel6.12-debuginfoUpgrade kernel6.12-tools-develUpgrade microvm-kernel6.18Upgrade bpftool6.12Upgrade kernel6.12-tools-debuginfoUpgrade kernel6.12-debuginfo-common-aarch64Upgrade kernel6.18-debuginfoUpgrade kernel6.12-develUpgrade kernel6.18-toolsUpgrade kernel6.18-modules-extraUpgrade perf6.12-debuginfoUpgrade python3-perf6.12-debuginfoUpgrade python3-perf6.12Upgrade kernel6.18-headersUpgrade kernel6.18Upgrade kernel6.18-develUpgrade kernel6.12-toolsUpgrade kernel6.12-modules-extra-commonUpgrade kernel6.12-debuginfo-common-x86_64 | Jul 21, 2026 | Jun 25, 2026 |
| Debian | — | Upgrade linux | Jul 23, 2026 | Jul 23, 2026 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Jun 25, 2026 |
| Ubuntu | — | Upgrade linux-image-realtime-7.0Upgrade linux-image-7.0.0-1013-oemUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-nvidia-bos-7.0Upgrade linux-image-7.0.0-1019-raspiUpgrade linux-image-gcpUpgrade linux-image-aws-7.0Upgrade linux-image-aws-64kUpgrade linux-image-realtime-64k-7.0Upgrade linux-image-7.0.0-1011-oracle-64kUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-azureUpgrade linux-image-azure-lts-26.04Upgrade linux-image-generic-64kUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-7.0.0-31-realtime-64kUpgrade linux-image-generic-64k-7.0Upgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-raspi-realtime-7.0Upgrade linux-image-7.0.0-31-generic-64kUpgrade linux-image-nvidiaUpgrade linux-image-7.0.0-1014-azureUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-realtime-hwe-26.04Upgrade linux-image-ibm-7.0Upgrade linux-image-oem-26.04bUpgrade linux-image-oem-7.0Upgrade linux-image-raspi-realtimeUpgrade linux-image-nvidia-64kUpgrade linux-image-oracle-64kUpgrade linux-image-genericUpgrade linux-image-7.0.0-1018-nvidia-64kUpgrade linux-image-gkeUpgrade linux-image-virtual-7.0Upgrade linux-image-7.0.0-1006-gke-64kUpgrade linux-image-7.0.0-2018-nvidia-bosUpgrade linux-image-gke-7.0Upgrade linux-image-7.0.0-1019-raspi-realtimeUpgrade linux-image-nvidia-bos-64kUpgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-virtual-hwe-24.04Upgrade linux-image-nvidia-64k-7.0Upgrade linux-image-7.0.0-1006-gkeUpgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-virtualUpgrade linux-image-aws-64k-7.0Upgrade linux-image-gke-hwe-26.04Upgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-generic-hwe-26.04Upgrade linux-image-generic-7.0Upgrade linux-image-generic-hwe-24.04Upgrade linux-image-7.0.0-1018-nvidiaUpgrade linux-image-7.0.0-1012-aws-64kUpgrade linux-image-virtual-hwe-26.04Upgrade linux-image-7.0.0-1011-oracleUpgrade linux-image-raspi-7.0Upgrade linux-image-gke-64k-7.0Upgrade linux-image-gcp-64kUpgrade linux-image-gcp-7.0Upgrade linux-image-7.0.0-31-realtimeUpgrade linux-image-oracleUpgrade linux-image-ibmUpgrade linux-image-oracle-7.0Upgrade linux-image-awsUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-nvidia-7.0Upgrade linux-image-7.0.0-2018-nvidia-bos-64kUpgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-realtimeUpgrade linux-image-oem-26.04Upgrade linux-image-raspiUpgrade linux-image-oem-26.04aUpgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-7.0.0-1012-awsUpgrade linux-image-realtime-64kUpgrade linux-image-7.0.0-31-genericUpgrade linux-image-7.0.0-1013-ibmUpgrade linux-image-azure-7.0Upgrade linux-image-nvidia-bosUpgrade linux-image-gke-64k | Sep 14, 2026 | Sep 7, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub