CVE-2024-43852: hwmon: (ltc2991) re-order conditions to fix off by one bug
In the Linux kernel, the following vulnerability has been resolved:
hwmon: (ltc2991) re-order conditions to fix off by one bug
LTC2991TINTCHNR is 4. The st->tempen[] array has LTC2991MAXCHANNEL (4) elements. Thus if "channel" is equal to LTC2991TINTCHNR then we have read one element beyond the end of the array. Flip the conditions around so that we check if "channel" is valid before using it as an array index.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-43852?
CVE-2024-43852 is classified as a low-severity vulnerability in the Linux kernel.
How do I fix CVE-2024-43852?
To resolve CVE-2024-43852, update your Linux kernel to version 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, or 6.12.11-1.
Which Linux kernel versions are affected by CVE-2024-43852?
CVE-2024-43852 affects Linux kernel versions between 6.7 and 6.10.3.
What specific component of the Linux kernel is impacted by CVE-2024-43852?
CVE-2024-43852 affects the hwmon subsystem, specifically related to the LTC2991 temperature sensor.
Is there a workaround for CVE-2024-43852 before applying a patch?
There are no known workarounds for CVE-2024-43852, and applying the patch is the recommended action.