Vulnerabilities · 2021 · Linux
CVE-2021-47224
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net: ll_temac: Make sure to free skb when it is completely used With the skb pointer piggy-backed on the TX BD, we have a simple and efficient way to free the skb buffer when the frame has been transmitted. But in order to avoid freeing the skb while there are still fragments from the skb in use, we need to piggy-back on the TX BD of the skb, not the first. Without this, we are doing use-after-free on the DMA side, when the first BD of a multi TX BD packet is seen as completed in xmit_done, and the remaining BDs are still being processed.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/019ab7d044d0ebf97e1236bb8935b7809be92358 · Patch
- git.kernel.org/stable/c/6aa32217a9a446275440ee8724b1ecaf1838df47 · Patch
- git.kernel.org/stable/c/6d120ab4dc39a543c6b63361e1d0541c382900a3 · Patch
- git.kernel.org/stable/c/e8afe05bd359ebe12a61dbdc94c06c00ea3e8d4b · Patch
- nvd.nist.gov/vuln/detail/CVE-2021-47224
- cve.org/CVERecord?id=CVE-2021-47224
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.