Use-After-Free Vulnerability in dpaa2-eth Package
Summary
GSD-2021-1002283: net: dpaa2-eth: fix use-after-free in dpaa2_eth_remove. Affects Kernel versions >= 7472dd9f649958be6a8880ed439233c8414a7b34, < 1c4099dc0d6a01e76e4f7dd98e4b3e0d55d80ad9. 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 dpaa2-eth package is a component of the Linux Kernel, specifically designed for the Data Path Acceleration Architecture 2 (DPAA2) Ethernet driver. It provides support for DPAA2 Ethernet devices, enabling high-performance networking capabilities. The package is an integral part of the Linux Kernel and is widely used in various Linux-based systems.
Vulnerability Detail
The identified vulnerability in the dpaa2-eth package is a use-after-free issue that occurs during the removal of the dpaa2_eth module. This vulnerability was introduced in version v4.17 of the Linux Kernel and was fixed in version v5.10.82. The use-after-free vulnerability can potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition. The vulnerability arises due to improper handling of resources after they have been freed, leading to potential memory corruption and subsequent exploitation.
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
As a workaround, users can disable the dpaa2-eth module if it is not required for their specific system configuration. This can be achieved by blacklisting the module or removing it from the kernel configuration. However, it is important to note that this workaround may result in the loss of functionality provided by the dpaa2-eth package.
Conclusion
The use-after-free vulnerability in the dpaa2-eth package can pose a significant security risk to systems utilizing the affected Linux Kernel versions. It is crucial to promptly update the Linux Kernel to version v5.10.82 or later to mitigate this vulnerability. Alternatively, users can consider disabling the dpaa2-eth module if it is not essential for their system's functionality. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The use-after-free vulnerability in the dpaa2-eth package can potentially allow an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition. This can lead to unauthorized access, data breaches, or disruption of services.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.
Yes, a patch for this vulnerability is available in version v5.10.82 of the Linux Kernel. It is recommended to update to this version or a later one to mitigate the vulnerability.
Yes, as a workaround, you can disable the dpaa2-eth module if it is not required for your system. However, this may result in the loss of functionality provided by the dpaa2-eth package.
You can refer to the vulnerability details in the GSD database at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002283.json for more information about this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.