cbcvebase.
CVE-2021-47385
published 2024-05-21

CVE-2021-47385: In the Linux kernel, the following vulnerability has been resolved: hwmon: (w83792d) Fix NULL pointer dereference by removing unnecessary structure field If…

PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.24%
15.3th percentile
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]

Affected

16 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 5.14.12-1 (bookworm)linux 5.14.12-1 (bookworm)
linuxlinux
linuxlinux>= f64211151db4269341ee6432ce832ae3756725ad < 200ced5ba724d8bbf29dfac4ed1e17a39ccaccd1200ced5ba724d8bbf29dfac4ed1e17a39ccaccd1
linuxlinux>= f64211151db4269341ee6432ce832ae3756725ad < 1499bb2c3a87a2efea0065adab2bd66badee61c31499bb2c3a87a2efea0065adab2bd66badee61c3
linuxlinux>= f64211151db4269341ee6432ce832ae3756725ad < 24af1fe376e22c42238a4a604d31e46c486876c324af1fe376e22c42238a4a604d31e46c486876c3
linuxlinux>= f64211151db4269341ee6432ce832ae3756725ad < 0f36b88173f028e372668ae040ab1a496834d2780f36b88173f028e372668ae040ab1a496834d278
linuxlinux_kernel< 5.4.1515.4.151
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.84-15.10.84-1
linuxlinux_kernel>= 0 < 5.14.12-15.14.12-1
linuxlinux_kernel>= 0 < 5.14.12-15.14.12-1
linuxlinux_kernel>= 0 < 5.14.12-15.14.12-1
linuxlinux_kernel>= 0 < 4.4.0-276.3104.4.0-276.310
linuxlinux_kernel>= 0 < 4.15.0-245.2574.15.0-245.257
linuxlinux_kernel>= 5.11 < 5.14.105.14.10
linuxlinux_kernel>= 5.5 < 5.10.715.10.71

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.