CVE-2021-47385: 
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Mitigation and workarounds

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).

Additional resources


Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99804MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • linux-aws-6.14
NoYesNov 20, 2026
CVE-2026-99799MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • linux-hwe-5.4
NoYesNov 20, 2026
CVE-2026-99797MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • linux-oracle
NoYesNov 20, 2026
CVE-2026-99796MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • kernel-kmap-internal
NoYesNov 20, 2026
CVE-2026-99798MEDIUM4.3
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoYesNov 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management