CVE-2021-47384: hwmon: (w83793) Fix NULL pointer dereference by removing unnecessary structure field
In the Linux kernel, the following vulnerability has been resolved:
hwmon: (w83793) Fix NULL pointer dereference by removing unnecessary structure field
If driver read tmp value sufficient for
(tmp & 0x08) && (!(tmp & 0x80)) && ((tmp & 0x7) == ((tmp >> 4) & 0x7))
from device then Null pointer dereference occurs.
(It is possible if tmp = 0b0xyz1xyz, where same literals mean same numbers)
Also lm75[] does not serve a purpose anymore after switching to
devm_i2c_new_dummy_device() in w83791d_detect_subclients().
The patch fixes possible NULL pointer dereference by removing lm75[].
Found by Linux Driver Verification project (linuxtesting.org).
[groeck: Dropped unnecessary continuation lines, fixed multi-line alignments]
Security readout for executives and security teams
Plain-English summary
CVE-2021-47384 is a Linux kernel flaw in the w83793 hardware-monitoring driver. A specific device-read value can trigger a NULL pointer dereference, causing limited availability impact. The public record does not show data theft, privilege escalation, or confirmed exploitation.
Executive priority
Treat as a routine kernel maintenance item unless affected hardware is business-critical or exposed across many systems. Patch through normal Linux update channels, prioritizing systems where sensor-driver crashes could disrupt operations.
Technical view
The flaw is in the Linux hwmon w83793 driver. When a read temporary value matches a specific bit condition, the driver can dereference NULL. The upstream stable fix removes the unnecessary lm75[] structure field after devm_i2c_new_dummy_device() made it obsolete.
Likely exposure
Exposure is most likely on Linux systems running affected kernel builds with the w83793 hardware-monitoring driver present or usable. The bundle lists affected Linux kernel versions around 5.4 through 5.15 and provides stable kernel fix commits.
Exploitation context
The CVE has CVSS 5.3 with availability impact only. The source bundle marks CISA KEV as false and provides no cited evidence of active exploitation or public weaponization. Evidence is limited to the kernel fix record and CVE metadata.
Researcher notes
The public description attributes discovery to the Linux Driver Verification project. Root cause is a NULL pointer dereference from a driver state field that no longer served a purpose. No CWE is supplied in the bundle.
Mitigation direction
Apply distribution kernel updates that include the referenced stable w83793 fix.
Prioritize Linux systems using affected 5.4 through 5.15 kernel lines.
Check vendor kernel advisories for exact fixed package versions.
Reboot systems if required for the updated kernel to take effect.
Validation and detection
Inventory Linux kernel versions across servers and appliances.
Identify systems where the w83793 hwmon driver is present or loaded.
Confirm installed kernels include one of the referenced stable fixes or vendor backports.
Review monitoring for kernel crashes or availability incidents involving w83793.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2021-47384 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.