Vulnerability in Kernel: net: stmmac: dwmac-rk: fix oob read in rk_gmac_setup
Summary
GSD-2021-1002755: net: stmmac: dwmac-rk: fix oob read in rk_gmac_setup. Affects Kernel versions >= 3bb3d6b1c1957e88bfc5e77a4557f7e6ba761fe3, < 0b4a5d1e15ce72f69be48f38dc0401dab890ae0f. 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 Kernel is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It is responsible for managing system resources, including memory, processes, and input/output operations. The stmmac driver is a subsystem within the Kernel that handles Ethernet network interfaces. The dwmac-rk driver is a specific implementation for Rockchip SoCs. This driver is used to configure and control the GMAC (Gigabit Media Access Controller) on Rockchip-based devices. The vulnerability in question affects the rk_gmac_setup function within the dwmac-rk driver.
Vulnerability Detail
The vulnerability in the rk_gmac_setup function of the dwmac-rk driver allows for an out-of-bounds read. An attacker could exploit this vulnerability to read sensitive information from kernel memory, potentially leading to the disclosure of sensitive data or the execution of arbitrary code. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in Linux Kernel version v5.14 by commit 3bb3d6b1c1957e88bfc5e77a4557f7e6ba761fe3 and has been fixed in version v5.15.11 by commit 0b4a5d1e15ce72f69be48f38dc0401dab890ae0f.
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 at this time.
Conclusion
The vulnerability in the dwmac-rk driver of the Kernel could allow for an out-of-bounds read, potentially leading to the disclosure of sensitive information or the execution of arbitrary code. It is crucial to update the Linux Kernel to version v5.15.11 or later to mitigate this vulnerability. For further support and assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability could potentially lead to the disclosure of sensitive data or the execution of arbitrary code.
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 the dependencies and alert you if any vulnerabilities are found.
At the time of this report, there is no known exploit for this vulnerability. However, it is always recommended to apply security patches promptly to mitigate the risk.
The details regarding the remote exploitability of this vulnerability have not been disclosed. However, it is important to apply the necessary security updates to protect against potential remote attacks.
The only known mitigation for this vulnerability is to update the Linux Kernel to a version that includes the fix. It is recommended to follow the provided steps in the 'how_to_fix' section to apply the necessary updates.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.