CVE-2024-43852 hwmon: (ltc2991) re-order conditions to fix off by one bug
An off-by-one error in the LTC2991 hardware monitoring driver allows out-of-bounds memory access, potentially leading to information disclosure or system crashes.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-43852?
CVE-2024-43852 is a high-severity vulnerability in Linux kernel, published on 17 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
hwmon: (ltc2991) re-order conditions to fix off by one bug
LTC2991_T_INT_CH_NR is 4. The st->temp_en[] array has LTC2991_MAX_CHANNEL (4) elements. Thus if "channel" is equal to LTC2991_T_INT_CH_NR 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.
Weakness: CWE-193
Which versions are affected by CVE-2024-43852?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-43852?
Apply the vendor's patch.
Is CVE-2024-43852 being exploited?
There is no known exploitation of CVE-2024-43852 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-43852, DEBIAN-CVE-2024-43852, GHSA-mx97-6hp9-h76q, UBUNTU-CVE-2024-43852.