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

Published May 21, 2024
·
Updated

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 devmi2cnewdummydevice() in w83791ddetectsubclients().

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]

Other sources

In the Linux kernel, the following vulnerability has been resolved:

hwmon: (w83793) Fix NULL pointer dereference by removing unnecessary structure field

The Linux kernel CVE team has assigned CVE-2021-47384 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024052144-CVE-2021-47384-f311@gregkh/T

Red Hat

Affected Software

14 affected componentsFixes available
redhat/kernel<5.4.151
5.4.151
redhat/kernel<5.10.71
5.10.71
redhat/kernel<5.14.10
5.14.10
redhat/kernel<5.15
5.15
Linux Linux kernel<5.4.151
Linux Linux kernel>=5.5<5.10.71
Linux Linux kernel>=5.11<5.14.10
Linux Linux kernel=5.15-rc1
Linux Linux kernel=5.15-rc2
Linux Linux kernel=5.15-rc3
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2

Event History

May 21, 2024
CVE Published
via MITRE·03:03 PM
Data Sourced
via MITRE·03:03 PM
Description
May 22, 2024
Data Sourced
via Red Hat·09:16 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-47384?

CVE-2021-47384 has been classified as a low-severity vulnerability in the Linux kernel.

2

How do I fix CVE-2021-47384?

To fix CVE-2021-47384, you need to update the Linux kernel to versions 5.4.151, 5.10.71, 5.14.10, or 5.15.

3

Which Linux kernel versions are affected by CVE-2021-47384?

CVE-2021-47384 affects Linux kernel versions prior to 5.4.151, 5.10.71, 5.14.10, and 5.15.

4

What is the impact of CVE-2021-47384?

The impact of CVE-2021-47384 is a potential NULL pointer dereference vulnerability when certain driver conditions are met.

5

Is CVE-2021-47384 specific to any Linux distribution?

CVE-2021-47384 is relevant to multiple Linux distributions that use the affected kernel versions, including Red Hat.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203