net/mlx5: Use del_timer_sync in fw reset flow of halting poll
Summary
GSD-2022-1000272: net/mlx5: Use del_timer_sync in fw reset flow of halting poll. Affects Kernel versions >= 38b9f903f22b9baa5c4b9bfb07c8bbc49f5efbba, < f895ebeb44d09d02674cfdd0cfc2bf687603918c. 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 network adapters, specifically those based on the mlx5 technology. These adapters are commonly used in high-performance computing and data center environments. The package includes drivers and firmware for these adapters, enabling communication between the hardware and the operating system.
Vulnerability Detail
The vulnerability identified in net/mlx5 involves the handling of firmware (fw) reset flow during the halting poll. The issue arises from the use of a regular timer instead of a synchronous timer when resetting the firmware. This can lead to a race condition where the firmware reset may not complete properly, potentially causing instability or unexpected behavior in the network adapter. The impact and attack plausibility of this 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
There is no specific workaround mentioned for this vulnerability.
Conclusion
The net/mlx5 package in the Linux Kernel is vulnerable to a race condition in the fw reset flow of halting poll. Updating the Kernel to version v5.15.20 or later resolves this vulnerability by using the del_timer_sync function. 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 network adapters based on mlx5 technology.
The impact of this vulnerability is not yet proven. It could potentially lead to instability or unexpected behavior in the network adapter.
To fix this vulnerability, update the Linux Kernel to version v5.15.20 or later, which includes the necessary fix for this issue.
No specific workaround has been mentioned for this vulnerability.
For more information, refer to the source link provided in the database_specific section of the vulnerability details.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.