CVE-2024-42086
iio: chemical: bme680: Fix overflows in compensate() functions
Check your servers for CVE-2024-42086
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-42086 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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/
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1b3bd8592780c87c5eddabbe98666b086bbaee36, before 6fa31bbe2ea8665ee970258eb8320cbf231dbe9e affected from 1b3bd8592780c87c5eddabbe98666b086bbaee36, before b0af334616ed425024bf220adda0f004806b5feb affected from 1b3bd8592780c87c5eddabbe98666b086bbaee36, before c326551e99f5416986074ce78bef94f6a404b517 affected from 1b3bd8592780c87c5eddabbe98666b086bbaee36, before 7a13d1357658d3a3c1cd7b3b9543c805a6e5e6e9 affected from 1b3bd8592780c87c5eddabbe98666b086bbaee36, before ba1bb3e2a38a7fef1c1818dd4f2d9abbfdde553a affected from 1b3bd8592780c87c5eddabbe98666b086bbaee36, before b5967393d50e3c6e632efda3ea3fdde14c1bfd0e affected from 1b3bd8592780c87c5eddabbe98666b086bbaee36, before 3add41bbda92938e9a528d74659dfc552796be4e affected from 1b3bd8592780c87c5eddabbe98666b086bbaee36, before fdd478c3ae98c3f13628e110dce9b6cfb0d9b3c8
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 4.19.317 up to and including 4.19.* unaffected from 5.4.279 up to and including 5.4.* unaffected from 5.10.221 up to and including 5.10.* unaffected from 5.15.162 up to and including 5.15.* unaffected from 6.1.97 up to and including 6.1.* unaffected from 6.6.37 up to and including 6.6.* unaffected from 6.9.8 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-42086 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42086
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-42086
trivy image --scanners vuln IMAGE | grep CVE-2024-42086
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/6fa31bbe2ea8665ee970258eb8320cbf231dbe9e git.kernel.org
- https://git.kernel.org/stable/c/b0af334616ed425024bf220adda0f004806b5feb git.kernel.org
- https://git.kernel.org/stable/c/c326551e99f5416986074ce78bef94f6a404b517 git.kernel.org
- https://git.kernel.org/stable/c/7a13d1357658d3a3c1cd7b3b9543c805a6e5e6e9 git.kernel.org
- https://git.kernel.org/stable/c/ba1bb3e2a38a7fef1c1818dd4f2d9abbfdde553a git.kernel.org
- https://git.kernel.org/stable/c/b5967393d50e3c6e632efda3ea3fdde14c1bfd0e git.kernel.org
- https://git.kernel.org/stable/c/3add41bbda92938e9a528d74659dfc552796be4e git.kernel.org
- https://git.kernel.org/stable/c/fdd478c3ae98c3f13628e110dce9b6cfb0d9b3c8 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-42086 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse