Use-after-free vulnerability in xdp, net package
Summary
GSD-2021-1001246: xdp, net: Fix use-after-free in bpf_xdp_link_release. Affects Kernel versions >= aa8d3a716b59db6c1ad6c68fb8aa05e31980da60, < ca9ba1de8f09976b45ccc8e655c51c6201992139. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The xdp, net package is a component of the Linux Kernel, which is responsible for handling network-related operations. It provides functionality for the XDP (eXpress Data Path) framework, which allows for high-performance packet processing. The package is critical for network communication in Linux systems.
Vulnerability Detail
The use-after-free vulnerability in the bpf_xdp_link_release function of the xdp, net package allows an attacker to exploit a freed memory region. This can lead to various security issues, such as remote code execution or denial of service attacks. The vulnerability was introduced in version v5.9 of the Linux Kernel and was fixed in version v5.10.54.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to update the Linux Kernel to the fixed version.
Conclusion
The use-after-free vulnerability in the xdp, net package of the Linux Kernel can have severe security implications, including remote code execution and denial of service attacks. It is crucial to update the Linux Kernel to version v5.10.54 or later to mitigate the risk. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The use-after-free vulnerability can be exploited by an attacker to execute arbitrary code or launch denial of service attacks on the affected system.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze and alert you if the vulnerability is present.
Yes, the vulnerability has been fixed in version v5.10.54 of the Linux Kernel. It is recommended to update to this version or a later one to mitigate the risk.
No, updating the Linux Kernel to the fixed version is the only known solution to mitigate the risk associated with this vulnerability.
You can find more information about this vulnerability in the Open Source Vulnerability Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001246.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.