net: sparx5: switchdev: fix possible NULL pointer dereference in Kernel
Summary
GSD-2022-1001172: net: sparx5: switchdev: fix possible NULL pointer dereference. Affects Kernel versions >= 10615907e9b51c9ae92f3a6ecabd01c482f20f32, < e7e1fff76c4c57688dc7d53a3b6212182d5628d0. 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 fundamental component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functions and services to enable the proper functioning of the system. The vulnerability in question affects the sparx5 switchdev module within the Kernel.
Vulnerability Detail
The vulnerability identified in the sparx5 switchdev module of the Kernel is a potential NULL pointer dereference issue. This vulnerability could lead to a system crash or potentially be exploited by an attacker to execute arbitrary code or escalate privileges. The vulnerability was introduced in version v5.15 of the Linux Kernel and has been fixed in version v5.17.2.
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 apply the fix by updating the Linux Kernel to the latest version.
Conclusion
The vulnerability in the sparx5 switchdev module of the Kernel can potentially lead to system crashes or unauthorized code execution. It is crucial to update the Linux Kernel to version v5.17.2 or later to mitigate these risks. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability could potentially lead to a system crash or be exploited by an attacker to execute arbitrary code or escalate privileges.
You can use the Vulert playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will analyze it in real-time.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate any potential risks.
It is recommended to update the entire Kernel to the latest version to ensure all relevant fixes and security patches are applied. Manual patching of specific vulnerabilities can be complex and may introduce other issues.
For more information about this vulnerability, you can refer to the source link provided in the database_specific section of this report (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1001xxx/GSD-2022-1001172.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.