CVE-2021-47385: hwmon: (w83792d) Fix NULL pointer dereference by removing unnecessary structure field
Vulnerability summary
CVE-2021-47385 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.3% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 20 · Related 13Timeline
- 21-05-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: hwmon: (w83792d) 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 multipline alignment]
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu88 products
- linuxAll versions (No fix recorded) | < 4.4.0-276.310 | < 4.15.0-245.257 | < 5.4.0-91.102
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.4.0-1150.156 | < 4.4.0-1188.203 | < 4.15.0-1187.200 | < 5.4.0-1060.63
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ f64211151db4269341ee6432ce832ae3756725ad, < 200ced5ba724d8bbf29dfac4ed1e17a39ccaccd1 | ≥ f64211151db4269341ee6432ce832ae3756725ad, < 1499bb2c3a87a2efea0065adab2bd66badee61c3 | ≥ f64211151db4269341ee6432ce832ae3756725ad, < 24af1fe376e22c42238a4a604d31e46c486876c3 | ≥ f64211151db4269341ee6432ce832ae3756725ad, < 0f36b88173f028e372668ae040ab1a496834d278 | 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 · 91 products