# CVE-2024-42086: iio: chemical: bme680: Fix overflows in compensate() functions

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-07-29 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-42086, DEBIAN-CVE-2024-42086
- Record: https://cvemate.com/vulnerability/CVE-2024-42086 · JSON: https://cvemate.com/vulnerability/CVE-2024-42086/json

## Description

```text
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/
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.239%, percentile 15.966%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 129)

- debian linux (Debian): \< 6.1.98-1 \| \< 6.9.8-1
- ubuntu linux (Ubuntu): \< 5.4.0-195.215 \| \< 5.15.0-121.131 \| \< 6.8.0-48.48
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1132.142 \| \< 5.15.0-1069.75 \| \< 6.8.0-1018.20
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1069.75~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1132.142~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1018.19~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1132.142+fips1 \| All versions (No fix recorded) \| \< 5.15.0-1069.75+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1137.144 \| \< 5.15.0-1072.81 \| \< 6.8.0-1017.20
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1072.81~20.04.1

## References (first 20 of 35)

- <https://git.kernel.org/stable/c/6fa31bbe2ea8665ee970258eb8320cbf231dbe9e>
- <https://git.kernel.org/stable/c/b0af334616ed425024bf220adda0f004806b5feb>
- <https://git.kernel.org/stable/c/c326551e99f5416986074ce78bef94f6a404b517>
- <https://git.kernel.org/stable/c/7a13d1357658d3a3c1cd7b3b9543c805a6e5e6e9>
- <https://git.kernel.org/stable/c/ba1bb3e2a38a7fef1c1818dd4f2d9abbfdde553a>
- <https://git.kernel.org/stable/c/b5967393d50e3c6e632efda3ea3fdde14c1bfd0e>
- <https://git.kernel.org/stable/c/3add41bbda92938e9a528d74659dfc552796be4e>
- <https://git.kernel.org/stable/c/fdd478c3ae98c3f13628e110dce9b6cfb0d9b3c8>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://ubuntu.com/security/CVE-2024-42086>
- <https://www.cve.org/CVERecord?id=CVE-2024-42086>
- <https://git.kernel.org/linus/fdd478c3ae98c3f13628e110dce9b6cfb0d9b3c8>
- <https://ubuntu.com/security/notices/USN-7003-1>
- <https://ubuntu.com/security/notices/USN-7003-2>
- <https://ubuntu.com/security/notices/USN-7006-1>
- <https://ubuntu.com/security/notices/USN-7003-3>
- <https://ubuntu.com/security/notices/USN-7007-1>
- <https://ubuntu.com/security/notices/USN-7009-1>
- <https://ubuntu.com/security/notices/USN-7019-1>
- <https://ubuntu.com/security/notices/USN-7007-2>

---

Data as of 2026-12-05T06:22:00.648Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
