CVE-2024-42086 iio: chemical: bme680: Fix overflows in compensate() functions
Integer overflows in the BME680 sensor driver's compensation functions can lead to memory corruption or crashes, requiring kernel patches.
- 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-42086?
CVE-2024-42086 is a high-severity vulnerability in Linux kernel, published on 29 Jul 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:
iio: chemical: bme680: Fix overflows in compensate() functions
There are cases in the compensate functions of the driver that there could be overflows of variables due to bit shifting ops. These implications were initially discussed here [1] and they were mentioned in log message of Commit 1b3bd8592780 ("iio: chemical: Add support for Bosch BME680 sensor").
[1]: https://lore.kernel.org/linux-iio/20180728114028.3c1bbe81@archlinux/
Weakness: CWE-787
Which versions are affected by CVE-2024-42086?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-42086?
Apply the vendor's patch.
Is CVE-2024-42086 being exploited?
There is no known exploitation of CVE-2024-42086 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-42086, DEBIAN-CVE-2024-42086, GHSA-h3gf-rw88-73j5, UBUNTU-CVE-2024-42086.