LiveActive security incident?Get immediate response
CVE Record

CVE-2021-47386: hwmon: (w83791d) Fix NULL pointer dereference by removing unnecessary structure field

In the Linux kernel, the following vulnerability has been resolved: hwmon: (w83791d) Fix NULL pointer dereference by removing unnecessary structure field If driver read val value sufficient for (val & 0x08) && (!(val & 0x80)) && ((val & 0x7) == ((val >> 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 alignment]

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-47386 is a Linux kernel bug in the w83791d hardware-monitoring driver. A local authenticated user could potentially trigger a NULL pointer dereference through specific device-read conditions, causing kernel impact. The published CVSS score is high, but exposure is narrower than a remote internet-facing issue.

Executive priority

Treat as high priority for Linux fleet patching, especially shared servers and systems where local users or workloads are less trusted. It is not evidenced as actively exploited in the provided sources.

Technical view

The issue is CWE-476 in the Linux kernel hwmon w83791d driver. The fix removes the obsolete lm75[] structure field after use of devm_i2c_new_dummy_device(). The CVSS vector is AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Stable kernel commits are referenced as fixes.

Likely exposure

Exposure appears limited to Linux systems running affected kernel versions with the w83791d hwmon driver path relevant. The CVSS vector requires local privileges, so typical exposure is post-access local escalation or kernel disruption risk, not direct remote exploitation.

Exploitation context

The provided sources do not show CISA KEV listing or active exploitation. The condition depends on driver-read values meeting a specific bit pattern. No public exploit status is provided in the source bundle.

Researcher notes

The record ties the issue to a NULL pointer dereference in w83791d and references four stable commits. Evidence is incomplete on exact downstream distro package mapping, exploit availability, and real-world hardware prevalence.

Mitigation direction

  • Update affected Linux kernels to versions containing the referenced stable fixes.
  • Prioritize vendor or distribution kernel advisories for exact package versions.
  • Check whether systems load or require the w83791d hwmon driver.
  • If patching is delayed, consult vendor guidance for temporary controls.

Validation and detection

  • Inventory Linux kernel versions across servers, appliances, and images.
  • Check loaded kernel modules and hardware-monitoring driver usage.
  • Confirm vendor kernel packages include the referenced stable commits.
  • Track remediation through vulnerability scans and package baseline checks.
Prepared
Confidence
medium
Sources
6

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.

cwe · low confidence lookup

CWE-476: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-47386 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

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.

1CVSS vectors
3Timeline events
2ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

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.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2021-47386Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux358d2071100d84cfe6ef4a9d70ac0d998a1d501e, 358d2071100d84cfe6ef4a9d70ac0d998a1d501e, 358d2071100d84cfe6ef4a9d70ac0d998a1d501e, 358d2071100d84cfe6ef4a9d70ac0d998a1d501eunaffected
LinuxLinux5.4, 0, 5.4.151, 5.10.71, 5.14.10, 5.15affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.