net/mlx5: Use del_timer_sync in fw reset flow of halting poll
Summary
GSD-2022-1000208: net/mlx5: Use del_timer_sync in fw reset flow of halting poll. Affects Kernel versions >= 38b9f903f22b9baa5c4b9bfb07c8bbc49f5efbba, < 502c37b033fab7cde3e95a570af4f073306be45e. 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 net/mlx5 package is a component of the Linux Kernel ecosystem. It provides support for Mellanox ConnectX network adapters, enabling high-performance networking capabilities. The package includes various drivers and firmware for Mellanox network devices. This vulnerability specifically affects the fw reset flow of the halting poll mechanism.
Vulnerability Detail
The vulnerability arises from the absence of proper synchronization in the fw reset flow of the halting poll mechanism in net/mlx5. This can lead to race conditions and potential security vulnerabilities. An attacker may be able to exploit this vulnerability to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. The vulnerability was introduced in version v5.10 of the Linux Kernel and has been fixed in version v5.10.97.
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 provided for this vulnerability.
Conclusion
The net/mlx5 package in the Linux Kernel is vulnerable to a race condition in the fw reset flow of the halting poll mechanism. This can potentially lead to security vulnerabilities, including arbitrary code execution, privilege escalation, or denial-of-service. It is recommended to update the Linux Kernel to version v5.10.97 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
net/mlx5 is a package in the Linux Kernel ecosystem that provides support for Mellanox ConnectX network adapters.
This vulnerability can potentially allow attackers to execute arbitrary code, escalate privileges, or cause a denial-of-service condition.
You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground and it will provide real-time alerts for open-source vulnerabilities.
Yes, this vulnerability has been fixed in Linux Kernel version v5.10.97.
You can obtain the updated Linux Kernel from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.