Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-98131

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

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f748be531d7012c456b97f66091d86b3675c5fef to < c5449b635362cb678d29d8f6ab54e65734d891ceaffected
  • f748be531d7012c456b97f66091d86b3675c5fef to < 8a3257f142ae513d0c96d42f97386d4941bcec29affected
  • f748be531d7012c456b97f66091d86b3675c5fef to < e85adaac3dc6317cae902372c6849189ec62cf7daffected
  • f748be531d7012c456b97f66091d86b3675c5fef to < a5d946466a95621fa2769720d59ea336003aa1a5affected

Linux Linux

Default version status: affected

  • 4.7affected
  • 0 to < 4.7unaffected
  • 6.12.114 to ≤ 6.12.*unaffected
  • 6.18.57 to ≤ 6.18.*unaffected
  • 7.2.7 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References