
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-47393 affects the Linux kernel's hardware monitoring (hwmon) subsystem, specifically the mlxreg-fan driver. The vulnerability was discovered in September 2021 and involves improper handling of fan speed control through sysfs. The issue affects Linux kernel versions that include the mlxreg-fan driver with CONFIG_THERMAL_STATISTICS enabled (Kernel Commit).
The vulnerability occurs when fan speed minimum is enforced through sysfs interface. When setting fan speed values (e.g., setting to 20 for 100% speed, 19 for 90% speed), the driver fails to properly handle thermal statistics updates. This results in a slab-out-of-bounds read in the thermal_cooling_device_stats_update function, which can be triggered when the kernel is configured with CONFIG_THERMAL_STATISTICS option (Kernel Commit).
The vulnerability can lead to a kernel KASAN (Kernel Address Sanitizer) error due to slab-out-of-bounds memory access, potentially causing system instability or crashes when accessing fan control functionality through sysfs (Kernel Commit).
The vulnerability requires local access to the system and the ability to interact with the sysfs interface for fan control. It is primarily triggered through legitimate system management operations rather than malicious exploitation (Red Hat Advisory).
The issue has been fixed in the Linux kernel by modifying the mlxreg-fan driver to return non-zero values when fan current state is enforced from sysfs, preventing invalid thermal statistics updates. The fix has been backported to various stable kernel versions and is available through distribution security updates (Red Hat Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."