PT-2024-11380 · Linux+6 · Linux Kernel+6
Nadezda Lutovinova
·
Published
2021-10-02
·
Updated
2025-01-21
·
CVE-2021-47384
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A NULL pointer dereference vulnerability has been resolved in the Linux kernel. The issue occurs when the driver reads a tmp value from a device that meets certain conditions:
(tmp & 0x08) && (!(tmp & 0x80)) && ((tmp & 0x7) == ((tmp >> 4) & 0x7)). This can happen if tmp = 0b0xyz1xyz, where the same literals mean the same numbers. The patch fixes the issue by removing an unnecessary structure field, specifically lm75[], which no longer serves a purpose after switching to devm i2c new dummy device() in w83791d detect subclients(). The vulnerability was found by the Linux Driver Verification project.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Astra Linux
Centos
Linux Kernel
Red Hat
Rocky Linux
Suse