7.8

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

Analyzed
AliasesUBUNTU-CVE-2021-47386DEBIAN-CVE-2021-47386
Published 21-05-2024Last modified 11-05-2026

Vulnerability summary

CVE-2021-47386 is a high (CVSS 7.8) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 18.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 5

Timeline

  1. 21-05-2024
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

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]

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.26% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu89 products
  • linuxAll versions (No fix recorded) | < 5.4.0-91.102
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.4.0-1060.63
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 358d2071100d84cfe6ef4a9d70ac0d998a1d501e, < 44d3c480e4e2a75bf6296a18b4356157991ccd80 | ≥ 358d2071100d84cfe6ef4a9d70ac0d998a1d501e, < 516d9055039017a20a698103be2b556b4c976bb8 | ≥ 358d2071100d84cfe6ef4a9d70ac0d998a1d501e, < 16887ae4e3defd2c4e7913b6c539f33eaf4eac5c | ≥ 358d2071100d84cfe6ef4a9d70ac0d998a1d501e, < 943c15ac1b84d378da26bba41c83c67e16499ac4 | 5.4
  • linux_kernel< 5.4.151 | ≥ 5.5, < 5.10.71 | ≥ 5.11, < 5.14.10 | 5.15:rc1 | 5.15:rc2 | 5.15:rc3
Debian1 product
  • linux< 5.14.12-1

3 vendors · 92 products

References

8 links