PT-2024-11381 · Linux+7 · Linux Kernel+7

Nadezda Lutovinova

·

Published

2021-10-02

·

Updated

2025-12-16

·

CVE-2021-47385

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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 value from a device that meets certain conditions: (val & 0x08) && (!(val & 0x80)) && ((val & 0x7) == ((val >> 4) & 0x7)). This can happen if the value tmp is equal to 0b0xyz1xyz, where the same literals mean the same numbers. The patch fixes the issue by removing the unnecessary structure field 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

ALSA-2024:7000
ALSA-2024:7001
ALSA-2024:8162
BDU:2025-07522
CESA-2024_7000
CESA-2024_7001
CVE-2021-47385
INFSA-2024_7000
INFSA-2024_7001
INFSA-2024_8162
OPENSUSE-SU-2024_2189-1
RHSA-2024:5281
RHSA-2024:6206
RHSA-2024:7000
RHSA-2024:7001
RHSA-2024:8157
RHSA-2024:8158
RHSA-2024:8162
RHSA-2024_7000
RHSA-2024_7001
RHSA-2024_8162
RLSA-2024:7001
RLSA-2024:8162
SUSE-SU-2024:2008-1
SUSE-SU-2024:2011-1
SUSE-SU-2024:2019-1
SUSE-SU-2024:2189-1
SUSE-SU-2024:2190-1
USN-7907-1
USN-7907-2
USN-7907-3
USN-7907-4
USN-7907-5
USN-7930-1
USN-7930-2
USN-7937-1

Affected Products

Almalinux
Astra Linux
Centos
Linux Kernel
Red Hat
Rocky Linux
Suse
Ubuntu