Vulnerability in Kernel (Linux): hwmon (mlxreg-fan)
Summary
GSD-2021-1001597: hwmon: (mlxreg-fan) Return non-zero value when fan current state is enforced from sysfs. Affects Kernel versions >= 65afb4c8e7e4e7e74b28efa1df62da503ca3e7a6, < a6c42ae1530f94724d3c42cf91fe3d3c5e394f8a. 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 critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages system resources, including memory, processes, and input/output operations. The hwmon subsystem within the Kernel is responsible for monitoring and controlling hardware sensors, such as temperature, voltage, and fan speed. One specific module of hwmon, mlxreg-fan, handles fan control for certain Mellanox devices.
Vulnerability Detail
The vulnerability in hwmon (mlxreg-fan) allows an attacker to enforce a fan's current state from the sysfs interface without proper validation. By manipulating the fan's state, an attacker could disrupt the cooling system, leading to potential overheating and system instability. The impact and attack plausibility of this vulnerability have not been proven, but it poses a potential risk to system integrity and availability.
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 vulnerability in hwmon (mlxreg-fan) within the Linux Kernel poses a potential risk to system integrity and availability. It is crucial to update the Kernel to version v5.4.151 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability allows an attacker to manipulate the fan's current state, potentially leading to system overheating and instability.
You can use the Vulert 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, including this one.
Yes, the vulnerability has been fixed in Linux Kernel version v5.4.151. It is recommended to update your Kernel to this version or later.
No known exploits for this vulnerability have been reported at this time.
This vulnerability was discovered by the Cloud Security Alliance (CSA) and reported in their GSD database.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.