Out of Bounds Read Vulnerability in mtk_eth_soc
Summary
GSD-2022-1002970: net: ethernet: mtk_eth_soc: out of bounds read in mtk_hwlro_get_fdir_entry(). Affects Kernel versions >= 7aab747e5563ecbc9f3cb64ddea13fe7b9fee2bd, < 4cde554c70d7397cfa2e4116bacb4accdfb6fd48. 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 mtk_eth_soc package is a component of the Linux Kernel that provides support for MediaTek Ethernet controllers. It enables the functionality of these controllers, allowing for network communication. The vulnerability in question involves an out of bounds read in the mtk_hwlro_get_fdir_entry() function. This function is responsible for retrieving flow director entries, and the vulnerability can potentially lead to information disclosure or a denial of service.
Vulnerability Detail
The out of bounds read vulnerability in mtk_eth_soc arises from improper bounds checking in the mtk_hwlro_get_fdir_entry() function. An attacker could exploit this vulnerability by crafting a malicious input that triggers the out of bounds read, potentially leading to the exposure of sensitive information or causing the system to crash. The vulnerability was introduced in version v4.9 of the Linux Kernel and has been fixed in version v5.17.15.
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
If updating the Linux Kernel is not immediately feasible, a possible workaround is to disable the affected functionality or module. However, this may impact the normal operation of the system and is not a long-term solution. It is strongly advised to update to the latest version of the Linux Kernel as soon as possible.
Conclusion
The out of bounds read vulnerability in mtk_eth_soc can have serious consequences, including information disclosure and system crashes. It is crucial to update the Linux Kernel to the latest version, v5.17.15 or later, to address this vulnerability. Applying security updates is essential for maintaining the security and integrity of the system. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
mtk_eth_soc is a component of the Linux Kernel that provides support for MediaTek Ethernet controllers. It enables network communication using these controllers.
The vulnerability can potentially lead to information disclosure or a denial of service. An attacker could exploit the out of bounds read to expose sensitive information or crash the system.
To fix this vulnerability, update the Linux Kernel to version v5.17.15 or later. Apply any available security updates to ensure the system is protected.
If updating the Linux Kernel is not immediately feasible, a possible workaround is to disable the affected functionality or module. However, this is not a long-term solution and updating to the latest version is strongly recommended.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to promptly update the Linux Kernel to mitigate any potential risks.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.