Refcount Leak in gswip_gphy_fw_list in Kernel
Summary
GSD-2022-1002940: net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list. Affects Kernel versions >= 14fceff4771e51b23b4485b575cf9e5b3414b89b, < 32cd78c5610f02a929f63cac985e73692d05f33e. 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 that acts as a bridge between the hardware and software layers. It provides essential functionalities, such as device drivers, memory management, and process scheduling. The vulnerability in question affects the 'lantiq_gswip' driver in the Kernel, specifically in the 'gswip_gphy_fw_list' function. This function is responsible for managing the firmware list for the Lantiq GSWIP Ethernet switch. The vulnerability allows for a refcount leak, which can lead to resource exhaustion and potential denial-of-service attacks.
Vulnerability Detail
The vulnerability arises due to a refcount leak in the 'gswip_gphy_fw_list' function of the 'lantiq_gswip' driver. This leak can occur when handling the firmware list for the Lantiq GSWIP Ethernet switch. An attacker could exploit this vulnerability to exhaust system resources, potentially leading to a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v5.17.15 by commit 32cd78c5610f02a929f63cac985e73692d05f33e. However, it was introduced in version v4.20 by commit 14fceff4771e51b23b4485b575cf9e5b3414b89b.
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 →
Conclusion
The refcount leak vulnerability in the 'gswip_gphy_fw_list' function of the 'lantiq_gswip' driver in the Kernel can lead to resource exhaustion and potential denial-of-service attacks. It is crucial to update the Linux Kernel to version v5.17.15 or later to mitigate this vulnerability. No specific workaround has been provided, and it is recommended to keep the Kernel up-to-date to ensure system security. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to resource exhaustion and potential denial-of-service attacks.
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 playground will analyze it for any open-source vulnerabilities, including this one.
No specific workaround has been provided for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.
The details regarding remote exploitation have not been provided. However, it is important to keep the Kernel up-to-date to mitigate any potential security risks.
There are no known instances of this vulnerability being exploited in the wild. However, it is always advisable to apply security patches and updates to prevent any potential attacks.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.