PT-2024-11794 · Linux+2 · Linux Kernel+2
Paweł Marciniak
·
Published
2022-01-23
·
Updated
2024-11-04
·
CVE-2022-48750
CVSS v3.1
5.5
Medium
| Vector | AV: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 version 5.16.2-200.fc35.x86 64
Description
The issue is related to a NULL pointer dereference in the Linux kernel, specifically in the hwmon component. This occurs when the
clear caseopen() function is called with the wrong device type, leading to a crash. The problem arises because the device passed to clear caseopen() is the hwmon device, not the platform device, and the platform data is not set in the hwmon device. To resolve this, the pointer to sio data should be stored in the struct nct6775 data and retrieved from there when needed.Recommendations
To fix the issue, update the Linux kernel to a version where this vulnerability has been resolved. Ensure that the
sio data pointer is correctly stored in the struct nct6775 data to prevent the NULL pointer dereference. As a temporary workaround, consider disabling the clear caseopen() function until a patch is available.Exploit
Fix
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Red Os