Vulnerability in Kernel: net: dsa: lantiq_gswip: fix use after free in gswip_remove()
Summary
GSD-2022-1000399: net: dsa: lantiq_gswip: fix use after free in gswip_remove(). Affects Kernel versions >= e177d2e85ebcd3008c4b2abc293f4118e04eedef, < f48bd34137718042872d06f2c7332b3267a29165. 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 acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the overall stability and security of the system. The net subsystem within the Kernel handles networking-related operations, including network device drivers and protocols. One of the network device drivers is lantiq_gswip, which is responsible for managing Ethernet switches on Lantiq SoCs. However, a vulnerability has been discovered in the gswip_remove() function of the lantiq_gswip driver, leading to a use-after-free issue.
Vulnerability Detail
The use-after-free vulnerability in the gswip_remove() function of the lantiq_gswip driver can be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition. This vulnerability occurs when the driver attempts to access memory that has already been freed, potentially leading to memory corruption and unpredictable behavior. An attacker with local access to the system or the ability to load a malicious kernel module could exploit this vulnerability to gain elevated privileges or crash the system. The vulnerability was introduced in Linux Kernel version v5.10.101 and has been fixed in version v5.10.102.
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 essential to update the Kernel to the fixed version as soon as possible to mitigate the risk.
Conclusion
The use-after-free vulnerability in the gswip_remove() function of the lantiq_gswip driver poses a significant security risk to systems running the affected version of the Linux Kernel. To mitigate this risk, it is crucial to update the Kernel to version v5.10.102 or later. Failure to do so may allow attackers to execute arbitrary code or cause system crashes. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can allow an attacker to execute arbitrary code or cause a denial-of-service condition. It may lead to system crashes, data corruption, or unauthorized access to sensitive information.
Any system running the affected version of the Linux Kernel (v5.10.101) with the lantiq_gswip driver enabled is potentially vulnerable. It is recommended for all users of the affected Kernel version to update to the fixed version (v5.10.102) to eliminate the risk.
No, this vulnerability requires local access to the system or the ability to load a malicious kernel module. It cannot be exploited remotely over a network.
There are no known instances of this vulnerability being exploited in the wild at the time of this report. However, it is crucial to apply the necessary updates to prevent potential exploitation.
For more details about this vulnerability, including the specific code changes that fix it, you can refer to the source link provided in the database_specific section of this report.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.