CVE-2026-98131

Summary

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

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

In stmmac_tso_xmit(), 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 stmmac_free_tx_buffer(). Moreover, release the descriptors with stmmac_release_tx_desc() unmapping the DMA buffers.

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxf748be531d7012c456b97f66091d86b3675c5fef < e85adaac3dc6317cae902372c6849189ec62cf7daffected
LinuxLinuxf748be531d7012c456b97f66091d86b3675c5fef < a5d946466a95621fa2769720d59ea336003aa1a5affected
LinuxLinux4.7affected
LinuxLinux0 < 4.7unaffected
LinuxLinux7.2.7 <= 7.2.*unaffected
LinuxLinux7.3-rc2 <= *unaffected

Weaknesses

References