net: stmmac: fix dma queue left shift overflow issue in Kernel
Summary
GSD-2022-1004347: net: stmmac: fix dma queue left shift overflow issue. Affects Kernel versions >= d43042f4da3e1c2e4ccac3b1d9153cb0798533a4, < 7c687a893f5cae5ca40d189635602e93af9bab73. 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 package is a fundamental component of the Linux operating system. It provides the core functionality and interfaces for various hardware devices, including network interfaces. The stmmac driver is responsible for managing the Ethernet MAC (Media Access Control) controller found in certain hardware platforms. This driver utilizes DMA (Direct Memory Access) queues to efficiently transfer data between the network interface and system memory.
Vulnerability Detail
The stmmac driver in the Kernel package is affected by a left shift overflow issue in the DMA queue handling code. This vulnerability, identified as GSD-2022-1004347, was introduced in version v4.12 of the Linux Kernel by commit d43042f4da3e1c2e4ccac3b1d9153cb0798533a4. The issue allows an attacker to trigger an integer overflow by providing a large value for the queue index, leading to potential memory corruption or other unexpected behavior. The impact and attack plausibility of this vulnerability have not yet been proven.
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
No specific workaround has been provided for this vulnerability.
Conclusion
The stmmac driver in the Kernel package is affected by a left shift overflow issue in the DMA queue handling code. This vulnerability can potentially lead to memory corruption or other unexpected behavior. It is recommended to update the Kernel package to version v5.15.58 or later to mitigate this issue. For more information and support, please refer to the provided resources and contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is not yet proven. However, it has the potential to cause memory corruption or other unexpected behavior in systems utilizing the stmmac driver.
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 and the tool will provide real-time alerts for open-source vulnerabilities.
At the time of this report, no known exploits for this vulnerability have been disclosed.
For more details about this vulnerability, you can refer to the source information provided by the Cloud Security Alliance's GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1004xxx/GSD-2022-1004347.json
For further support on vulnerability remediation, you can contact info@devnack.com.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.