net: amd-xgbe: Fix skb data length underflow in Kernel
Summary
GSD-2022-1000132: net: amd-xgbe: Fix skb data length underflow. Affects Kernel versions >= 622c36f143fc9566ba49d7cec994c2da1182d9e2, < 34aeb4da20f93ac80a6291a2dbe7b9c6460e9b26. 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 fundamental component of the Linux operating system that provides core functionalities and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and enables the execution of user programs. The vulnerability in the amd-xgbe module of the Kernel allows for a potential skb data length underflow.
Vulnerability Detail
The vulnerability in the amd-xgbe module of the Kernel arises from a data length underflow issue. This vulnerability can be exploited by an attacker to manipulate network packets and potentially execute arbitrary code or cause a denial-of-service condition. The issue was introduced in version v4.11 of the Kernel and has been fixed in version v4.19.228. The specific commit that addresses this vulnerability is 34aeb4da20f93ac80a6291a2dbe7b9c6460e9b26.
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 Kernel is not immediately feasible, a possible workaround is to disable the affected module. This can be achieved by blacklisting the amd-xgbe module. To do this, add the following line to the appropriate configuration file (e.g., /etc/modprobe.d/blacklist.conf):
blacklist amd-xgbe
After adding the line, reboot the system for the changes to take effect. However, it is strongly recommended to update the Kernel as soon as possible to ensure the security of the system.
Conclusion
The vulnerability in the amd-xgbe module of the Kernel can lead to a data length underflow, potentially enabling attackers to manipulate network packets and execute arbitrary code or cause a denial-of-service condition. It is crucial to update the Kernel to version v4.19.228 or later to mitigate this vulnerability. If immediate updating is not possible, blacklisting the amd-xgbe module can serve as a temporary workaround. For further assistance and support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially allow an attacker to manipulate network packets and execute arbitrary code or cause a denial-of-service condition.
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 and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.
Yes, a patch has been released in version v4.19.228 of the Kernel. It is recommended to update to this version or a later one to fix the vulnerability.
While updating the Kernel is the recommended solution, you can mitigate the vulnerability by blacklisting the amd-xgbe module. However, it is still advisable to update the Kernel as soon as possible.
At the time of this report, there are no known public exploits targeting this specific vulnerability. However, it is important to promptly update the Kernel to prevent any potential exploitation.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.