net: dsa: fix a crash if ->get_sset_count() fails
Summary
GSD-2021-1000628: net: dsa: fix a crash if ->get_sset_count() fails. Affects Kernel versions >= badf3ada60ab8f76f9488dc8f5c0c57f70682f5a, < ce5355f140a7987011388c7e30c4f8fbe180d3e8. 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 vulnerability affects the Kernel package in the Linux ecosystem. The Kernel is the core component of the operating system that manages system resources and provides an interface for software to interact with the hardware. The specific vulnerability occurs in the DSA (Distributed Switch Architecture) module of the Kernel. DSA is a framework for managing Ethernet switches in a distributed manner. The vulnerability arises when the ->get_sset_count() function fails, leading to a crash in the system.
Vulnerability Detail
The vulnerability in the DSA module of the Kernel occurs when the ->get_sset_count() function fails. This can result in a system crash, potentially leading to a denial-of-service (DoS) situation. The vulnerability was introduced in version v4.7 of the Linux Kernel and has been fixed in version v5.4.124. The impact and attack plausibility of this vulnerability have not been proven yet.
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 specific workaround mentioned for this vulnerability. The recommended approach is to update the Linux Kernel to the fixed version.
Conclusion
The vulnerability in the DSA module of the Linux Kernel can result in a system crash if the ->get_sset_count() function fails. It is crucial to update the Kernel to version v5.4.124 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The Kernel is the core component of the operating system that manages system resources and provides an interface for software to interact with the hardware.
DSA (Distributed Switch Architecture) is a framework for managing Ethernet switches in a distributed manner within the Kernel.
The vulnerability can lead to a system crash, potentially causing a denial-of-service (DoS) situation.
To fix the vulnerability, update the Linux Kernel to version v5.4.124 or later.
There is no specific workaround mentioned for this vulnerability. Updating the Kernel is the recommended approach.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.