
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-47385 affects the Linux kernel's hardware monitoring (hwmon) subsystem, specifically the w83792d driver. The vulnerability was discovered by the Linux Driver Verification project and involves a NULL pointer dereference issue. The vulnerability affects Linux kernel versions up to 5.4.151, from 5.5 to 5.10.71, from 5.11 to 5.14.10, and release candidates 5.15-rc1 through 5.15-rc3 (NVD).
The vulnerability occurs in the w83792d driver when reading a specific value pattern that meets the condition (val & 0x08) && (!(val & 0x80)) && ((val & 0x7) == ((val >> 4) & 0x7)). This can lead to a NULL pointer dereference when tmp = 0b0xyz1xyz (where xyz represents matching bits). The issue is related to an unnecessary lm75[] structure field that no longer serves a purpose after switching to devm_i2c_new_dummy_device() in w83791d_detect_subclients(). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
The vulnerability can lead to a NULL pointer dereference in the Linux kernel's hardware monitoring subsystem, potentially causing system crashes or denial of service conditions. The impact is limited to systems with the affected w83792d hardware monitoring driver loaded (NVD).
The vulnerability requires local access with low privileges to exploit. The attack complexity is low, and no user interaction is required. The vulnerability has been classified as a NULL Pointer Dereference (CWE-476) issue (NVD).
The vulnerability has been fixed by removing the unnecessary lm75[] structure field and modifying the address checking logic in the w83792d driver. The fix has been implemented in the Linux kernel through a patch that removes the problematic structure field and updates the duplicate address checking mechanism (Kernel Patch).
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."