NULL pointer dereference in Linux
CVE-2021-47384
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]
EPSS: 0.010 (60.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
Affected products
- Linux — versions cf48d17623281c2b3185030ed23f148bd47e15de, 5.4, 0
- Linux Linux_kernel — versions 5.15
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2021-47384?
- CVE-2021-47384 is a medium-severity vulnerability in Linux, classified under NULL Pointer Dereference. CVSS score: 5.3/10. Published 2024-05-21.
- How severe is CVE-2021-47384?
- Medium severity. CVSS v3 base score is 5.3 out of 10.