{"id":"CVE-2024-42086","summary":"iio: chemical: bme680: Fix overflows in compensate() functions","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: chemical: bme680: Fix overflows in compensate() functions\n\nThere are cases in the compensate functions of the driver that\nthere could be overflows of variables due to bit shifting ops.\nThese implications were initially discussed here [1] and they\nwere mentioned in log message of Commit 1b3bd8592780 (\"iio:\nchemical: Add support for Bosch BME680 sensor\").\n\n[1]: https://lore.kernel.org/linux-iio/20180728114028.3c1bbe81@archlinux/","modified":"2026-04-02T12:17:43.707098Z","published":"2024-07-29T16:26:27.075Z","related":["SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42086.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3add41bbda92938e9a528d74659dfc552796be4e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6fa31bbe2ea8665ee970258eb8320cbf231dbe9e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a13d1357658d3a3c1cd7b3b9543c805a6e5e6e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0af334616ed425024bf220adda0f004806b5feb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b5967393d50e3c6e632efda3ea3fdde14c1bfd0e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba1bb3e2a38a7fef1c1818dd4f2d9abbfdde553a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c326551e99f5416986074ce78bef94f6a404b517"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fdd478c3ae98c3f13628e110dce9b6cfb0d9b3c8"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42086.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42086"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1b3bd8592780c87c5eddabbe98666b086bbaee36"},{"fixed":"6fa31bbe2ea8665ee970258eb8320cbf231dbe9e"},{"fixed":"b0af334616ed425024bf220adda0f004806b5feb"},{"fixed":"c326551e99f5416986074ce78bef94f6a404b517"},{"fixed":"7a13d1357658d3a3c1cd7b3b9543c805a6e5e6e9"},{"fixed":"ba1bb3e2a38a7fef1c1818dd4f2d9abbfdde553a"},{"fixed":"b5967393d50e3c6e632efda3ea3fdde14c1bfd0e"},{"fixed":"3add41bbda92938e9a528d74659dfc552796be4e"},{"fixed":"fdd478c3ae98c3f13628e110dce9b6cfb0d9b3c8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42086.json"}}],"schema_version":"1.7.5"}