net: stmmac: fix dma mapping leak in stmmac_tso_xmit()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 8a3257f142ae513d0c96d42f97386d4941bcec29, Kernel a5d946466a95621fa2769720d59ea336003aa1a5, Kernel c5449b635362cb678d29d8f6ab54e65734d891ce and 1 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.7, >=f748be531d7012c456b97f66091d86b3675c5fef <8a3257f142ae513d0c96d42f97386d4941bcec29, >=f748be531d7012c456b97f66091d86b3675c5fef <a5d946466a95621fa2769720d59ea336003aa1a5, >=f748be531d7012c456b97f66091d86b3675c5fef <c5449b635362cb678d29d8f6ab54e65734d891ce, >=f748be531d7012c456b97f66091d86b3675c5fef <e85adaac3dc6317cae902372c6849189ec62cf7d | 8a3257f142ae513d0c96d42f97386d4941bcec29, a5d946466a95621fa2769720d59ea336003aa1a5, c5449b635362cb678d29d8f6ab54e65734d891ce, e85adaac3dc6317cae902372c6849189ec62cf7d |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket