CVE-2024-42086

published 29 Jul 2024 · updated 11 May 2026

iio: chemical: bme680: Fix overflows in compensate() functions

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3add41bbda92938e9a528d74659dfc552796be4e, Kernel 6fa31bbe2ea8665ee970258eb8320cbf231dbe9e, Kernel 7a13d1357658d3a3c1cd7b3b9543c805a6e5e6e9 and 5 more.

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/

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.19, >=1b3bd8592780c87c5eddabbe98666b086bbaee36 <3add41bbda92938e9a528d74659dfc552796be4e, >=1b3bd8592780c87c5eddabbe98666b086bbaee36 <6fa31bbe2ea8665ee970258eb8320cbf231dbe9e, >=1b3bd8592780c87c5eddabbe98666b086bbaee36 <7a13d1357658d3a3c1cd7b3b9543c805a6e5e6e9, >=1b3bd8592780c87c5eddabbe98666b086bbaee36 <b0af334616ed425024bf220adda0f004806b5feb, >=1b3bd8592780c87c5eddabbe98666b086bbaee36 <b5967393d50e3c6e632efda3ea3fdde14c1bfd0e, >=1b3bd8592780c87c5eddabbe98666b086bbaee36 <ba1bb3e2a38a7fef1c1818dd4f2d9abbfdde553a, >=1b3bd8592780c87c5eddabbe98666b086bbaee36 <c326551e99f5416986074ce78bef94f6a404b517, >=1b3bd8592780c87c5eddabbe98666b086bbaee36 <fdd478c3ae98c3f13628e110dce9b6cfb0d9b3c83add41bbda92938e9a528d74659dfc552796be4e, 6fa31bbe2ea8665ee970258eb8320cbf231dbe9e, 7a13d1357658d3a3c1cd7b3b9543c805a6e5e6e9, b0af334616ed425024bf220adda0f004806b5feb, b5967393d50e3c6e632efda3ea3fdde14c1bfd0e, ba1bb3e2a38a7fef1c1818dd4f2d9abbfdde553a, c326551e99f5416986074ce78bef94f6a404b517, fdd478c3ae98c3f13628e110dce9b6cfb0d9b3c8

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-42086 severity on Zeptric[![CVE-2024-42086](https://zeptric.io/badge/cve/CVE-2024-42086.svg)](https://zeptric.io/cve/CVE-2024-42086)