All vulnerabilities
CVE-2026-99028

Linux: net: xilinx: axienet: Free outstanding DMA buffers on dmaengine stop

Linux LinuxOperating systems
CVSS
NoneNot scored
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
Fixed in079396129da5e7cb40ca0920aa1b9525bef6097cAlso 5e5cf3ad7c099ff86ea9e422cddb25a2e5317b58CVE List
Published23 Oct 2026Updated 23 Oct 2026CVE List

What fixes it

  • 079396129da5e7cb40ca0920aa1b9525bef6097cLinuxCVE List
  • 5e5cf3ad7c099ff86ea9e422cddb25a2e5317b58LinuxCVE List

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

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

net: xilinx: axienet: Free outstanding DMA buffers on dmaengine stop

In the dmaengine path the driver pre-submits RX buffers and holds in-flight TX buffers whose SKBs are DMA-mapped by the driver and freed only in the completion callbacks. On ndo_stop() dmaengine_terminate_sync() aborts these descriptors without running their callbacks, and the driver then frees only the ring shells, leaking every SKB still owned by the engine and its DMA mapping on each ifdown. With 128 RX buffers pre-posted per channel, the mapping leak can eventually exhaust a limited IOMMU aperture.

Clear the slot's skb in the TX and RX callbacks so a non-NULL skb marks a slot that still owns a live, DMA-mapped buffer, and on stop unmap and free every such buffer.

axienet_dma_rx_cb() runs from the DMA tasklet and re-arms the RX ring on each completion, so it can race axienet_stop(): a completion may submit a fresh buffer after dmaengine_terminate_sync() has returned, leaving the channel armed with a buffer the teardown then frees while the engine may still write into it (dma_release_channel() does not stop it either). Add a lock that axienet_dma_rx_cb() holds across the @stopping check and the resubmit, and axienet_stop() holds to set @stopping before terminating. Once @stopping is set no callback can arm a new buffer, and any armed just before is aborted by the terminate, so teardown only frees buffers the engine no longer owns.

Text from CVE List

Affected versions 10

  • Linuxaffected: 6a91b846af85a24241decd686269e8e038eb13d1 before 079396129da5e7cb40ca0920aa1b9525bef6097cCVE List
  • Linuxaffected: 6a91b846af85a24241decd686269e8e038eb13d1 before eececf7c3a679d9c08175ad6bacbc8c31848f5afCVE List
  • Linuxaffected: 6a91b846af85a24241decd686269e8e038eb13d1 before 5e5cf3ad7c099ff86ea9e422cddb25a2e5317b58CVE List
  • Linuxaffected: 6a91b846af85a24241decd686269e8e038eb13d1 before bcf2573a68a808a5b54cadafa72b6672e662c2bfCVE List
  • Linuxaffected: 6.8CVE List
  • Linuxunaffected: all versions before 6.8CVE List
  • Linuxunaffected: 6.12.114 through 6.12.*CVE List
  • Linuxunaffected: 6.18.58 through 6.18.*CVE List
  • Linuxunaffected: 7.2.11 through 7.2.*CVE List
  • Linuxunaffected: 7.3CVE List

References 4