CVE-2026-98131: net: stmmac: fix dma mapping leak in stmmac_tso_xmit()

Published Sep 25, 2026
·
Updated

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

net: stmmac: fix dma mapping leak in stmmactsoxmit()

In stmmactsoxmit(), if the DMA mapping of an skb fragment fails, the frame is dropped but the DMA mappings already created for the linear part and for the fragments mapped before the failure are never unmapped, leaking DMA mappings.

Fix the leak by walking back over the descriptors used by the frame and releasing each of them with stmmacfreetxbuffer(). Moreover, release the descriptors with stmmacreleasetxdesc() unmapping the DMA buffers.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In stmmac_tso_xmit(), when DMA mapping of an skb fragment fails, walk back over the descriptors used by the frame, call stmmac_release_tx_desc() to unmap the DMA buffers, and release each descriptor with stmmac_free_tx_buffer().

Event History

Sep 25, 2026
CVE Published
via MITRE·10:36 AM
Data Sourced
via MITRE·10:36 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this DMA mapping leak?

Systems using the Linux kernel stmmac network driver are exposed when transmitting traffic through the TSO transmit path. The issue occurs if DMA mapping fails for an skb fragment after mappings have already been created for the linear portion or earlier fragments.

2

What condition is required to trigger the leak?

A DMA mapping operation for an skb fragment must fail during stmmac_tso_xmit(). The failed frame is dropped, but prior DMA mappings for that frame remain mapped in the affected code.

3

What happens if the condition is triggered repeatedly?

Each affected failure can leave DMA mappings allocated for the linear data and any fragments mapped before the failure. Repeated failures can therefore accumulate leaked DMA mappings.

4

How is the issue fixed?

The fix walks back through the descriptors used by the failed frame and releases their DMA buffers with stmmac_free_tx_buffer(). It also releases the descriptors with stmmac_release_tx_desc().

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