CVE-2024-42086
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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/

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1b3bd8592780c87c5eddabbe98666b086bbaee36 before 6fa31bbe2ea8665ee970258eb8320cbf231dbe9e, from 1b3bd8592780c87c5eddabbe98666b086bbaee36 before b0af334616ed425024bf220adda0f004806b5feb, from 1b3bd8592780c87c5eddabbe98666b086bbaee36 before c326551e99f5416986074ce78bef94f6a404b517, from 1b3bd8592780c87c5eddabbe98666b086bbaee36 before 7a13d1357658d3a3c1cd7b3b9543c805a6e5e6e9, from 1b3bd8592780c87c5eddabbe98666b086bbaee36 before ba1bb3e2a38a7fef1c1818dd4f2d9abbfdde553a, from 1b3bd8592780c87c5eddabbe98666b086bbaee36 before b5967393d50e3c6e632efda3ea3fdde14c1bfd0e, from 1b3bd8592780c87c5eddabbe98666b086bbaee36 before 3add41bbda92938e9a528d74659dfc552796be4e, from 1b3bd8592780c87c5eddabbe98666b086bbaee36 before fdd478c3ae98c3f13628e110dce9b6cfb0d9b3c8 and 1 more
Not affected: before 4.19, from 4.19.317 up to 4.19.*, from 5.4.279 up to 5.4.*, from 5.10.221 up to 5.10.*, from 5.15.162 up to 5.15.*, from 6.1.97 up to 6.1.*
CVE List
linux linux_kernelfrom 4.19 before 4.19.317, from 4.20 before 5.4.279, from 5.5 before 5.10.221, from 5.11 before 5.15.162, from 5.16 before 6.1.97, from 6.2 before 6.6.37, from 6.7 before 6.9.8, 6.10NVD

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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/

NVD (es)

En el kernel de Linux se ha solucionado la siguiente vulnerabilidad: iio:chemical:bme680: Corregir desbordamientos en funciones de compensación(). Hay casos en las funciones de compensación del controlador en los que se pueden producir desbordamientos de variables por operaciones de cambio de bits. Estas implicaciones se discutieron inicialmente aquí [1] y se mencionaron en el mensaje de registro del compromiso 1b3bd8592780 ("iio: químico: agregar soporte para el sensor Bosch BME680"). [1]: https://lore.kernel.org/linux-iio/20180728114028.3c1bbe81@archlinux/

References

Sources

SourceRecordLicence
CVE ListCVE-2024-42086 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-42086 changed 2026-06-17Public domain