net: dsa: fix a crash if ->get_sset_count() fails
Summary
GSD-2021-1000654: net: dsa: fix a crash if ->get_sset_count() fails. Affects Kernel versions >= badf3ada60ab8f76f9488dc8f5c0c57f70682f5a, < 0f2cb08c57edefb0e7b5045e0e3e9980a3d3aa37. 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 in the Kernel package relates to the DSA (Distributed Switch Architecture) module. DSA is a framework in the Kernel for managing Ethernet switches. The vulnerability can lead to a crash if the get_sset_count() function fails.
Vulnerability Detail
The vulnerability arises when the get_sset_count() function fails within the DSA module. This can result in a crash, impacting the stability and availability of the system. The vulnerability was introduced in version v4.7 of the Linux Kernel and is fixed in version v4.19.193. The exact impact and attack plausibility of the vulnerability have not been proven.
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
No specific workaround has been mentioned for this vulnerability.
Conclusion
The vulnerability in the Kernel package related to the DSA module can result in a crash if the get_sset_count() function fails. It is recommended to update the Linux Kernel package to version v4.19.193 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 package is the core component of the operating system that manages system resources and provides an interface for software to interact with the hardware.
The DSA (Distributed Switch Architecture) module is a framework in the Kernel for managing Ethernet switches.
The vulnerability can lead to a crash, impacting the stability and availability of the system.
The vulnerability was introduced in version v4.7 of the Linux Kernel.
To fix the vulnerability, update the Linux Kernel package to version v4.19.193 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.