CVE-2026-99028: net: xilinx: axienet: Free outstanding DMA buffers on dmaengine stop

Published Oct 23, 2026
·
Updated

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 ndostop() dmaengineterminatesync() 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.

axienetdmarxcb() runs from the DMA tasklet and re-arms the RX ring on each completion, so it can race axienetstop(): a completion may submit a fresh buffer after dmaengineterminatesync() has returned, leaving the channel armed with a buffer the teardown then frees while the engine may still write into it (dmareleasechannel() does not stop it either). Add a lock that axienetdmarxcb() holds across the @stopping check and the resubmit, and axienetstop() 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.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Operational

    In axienet_dma_rx_cb() and the TX callback, clear the slot's skb so a non-NULL skb marks a slot that still owns a live DMA-mapped buffer.

  2. Operational

    Serialize the @stopping check and RX-buffer resubmission with a lock held across both operations, and set @stopping before calling dmaengine_terminate_sync().

  3. Operational

    During dmaengine stop teardown, unmap and free every outstanding TX and RX DMA buffer whose slot still owns a live buffer, rather than freeing only the ring shells.

Event History

Oct 23, 2026
CVE Published
via MITRE·12:21 PM
Data Sourced
via MITRE·12:21 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203