Vulnerability in Kernel: net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list
Summary
GSD-2022-1003724: net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list. Affects Kernel versions >= 14fceff4771e51b23b4485b575cf9e5b3414b89b, < 7c8df6fad43d9d5d77f281f794b2a93cd02fd1a9. 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 crucial component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionality for the proper functioning of the system. The lantiq_gswip module within the Kernel is specifically designed for Lantiq GSWIP Ethernet switches. These switches are commonly used in networking devices. The gswip_gphy_fw_list function within the lantiq_gswip module is responsible for managing firmware lists for the Ethernet PHYs. However, a vulnerability has been identified in this function that can lead to a refcount leak.
Vulnerability Detail
The vulnerability in the gswip_gphy_fw_list function of the lantiq_gswip module allows for a refcount leak. This can result in a resource leak, potentially leading to memory corruption or exhaustion. An attacker could exploit this vulnerability to cause a denial-of-service (DoS) condition or potentially execute arbitrary code with elevated privileges. The vulnerability was introduced in version v4.20 of the Linux Kernel and has been fixed in version v5.4.198.
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. It is recommended to apply the fix mentioned in the 'how_to_fix' section.
Conclusion
The vulnerability in the lantiq_gswip module of the Kernel can lead to a refcount leak, potentially resulting in memory corruption or exhaustion. It is crucial to update the Linux Kernel to version v5.4.198 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can lead to a resource leak, potentially resulting in memory corruption or exhaustion. It can be exploited by an attacker to cause a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges.
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 it will provide real-time monitoring and alerts for open-source vulnerabilities.
Yes, a patch has been released in version v5.4.198 of the Linux Kernel. It is recommended to update to this version or later to fix the vulnerability.
There is no known workaround for this vulnerability. It is highly recommended to update the Kernel to the fixed version as soon as possible.
You can find more information about this vulnerability in the vulnerability database maintained by the Cloud Security Alliance. The specific vulnerability ID is GSD-2022-1003724.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.