UAF Vulnerability in net: qcom/emac
Summary
GSD-2021-1001322: net: qcom/emac: fix UAF in emac_remove. Affects Kernel versions >= 54e19bc74f3380d414681762ceed9f7245bc6a6e, < 2b70ca92847c619d6264c7372ef74fcbfd1e048c. 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 net: qcom/emac package is a component of the Linux Kernel, specifically designed for Qualcomm Ethernet MAC (EMAC) controllers. It provides the necessary drivers and functionality for managing network communication through these controllers. The EMAC controllers are commonly used in Qualcomm SoCs (System on Chips) for various devices, including smartphones, tablets, and IoT devices.
Vulnerability Detail
The UAF (Use-After-Free) vulnerability in the net: qcom/emac package allows an attacker to exploit a memory corruption issue during the removal of the EMAC driver. This vulnerability was introduced in version v4.9 of the Linux Kernel and was fixed in version v5.4.135. By triggering the vulnerability, an attacker could potentially execute arbitrary code or cause a denial-of-service (DoS) condition, leading to a system crash or other malicious activities.
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 EMAC driver or remove the affected hardware from the system. However, this may result in the loss of network connectivity or the inability to utilize the EMAC controller functionality. It is recommended to apply the official fix by updating the Linux Kernel to the patched version.
Conclusion
The UAF vulnerability in the net: qcom/emac package poses a significant security risk, potentially allowing an attacker to execute arbitrary code or cause a DoS condition. It is crucial to update the Linux Kernel to the patched version to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The net: qcom/emac package is a component of the Linux Kernel that provides drivers and functionality for Qualcomm Ethernet MAC (EMAC) controllers.
A UAF (Use-After-Free) vulnerability is a type of memory corruption issue where a program continues to use a memory address after it has been freed, leading to potential exploitation and security risks.
The UAF vulnerability in the net: qcom/emac package could allow an attacker to execute arbitrary code, cause a denial-of-service (DoS) condition, or perform other malicious activities on the affected system.
To fix the UAF vulnerability, it is recommended to update the Linux Kernel to version v5.4.135 or later by obtaining the latest stable version from the official repository and following the installation instructions.
As a workaround, users can disable the EMAC driver or remove the affected hardware from the system. However, it is recommended to apply the official fix by updating the Linux Kernel to the patched version.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.