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

CVE-2024-42086
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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/

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1b3bd8592780c87c5eddabbe98666b086bbaee36 < 6fa31bbe2ea8665ee970258eb8320cbf231dbe9e ; affected 1b3bd8592780c87c5eddabbe98666b086bbaee36 < b0af334616ed425024bf220adda0f004806b5feb ; affected 1b3bd8592780c87c5eddabbe98666b086bbaee36 < c326551e99f5416986074ce78bef94f6a404b517 ; affected 1b3bd8592780c87c5eddabbe98666b086bbaee36 < 7a13d1357658d3a3c1cd7b3b9543c805a6e5e6e9 ; affected 1b3bd8592780c87c5eddabbe98666b086bbaee36 < ba1bb3e2a38a7fef1c1818dd4f2d9abbfdde553a ; affected 1b3bd8592780c87c5eddabbe98666b086bbaee36 < b5967393d50e3c6e632efda3ea3fdde14c1bfd0e
Linux · Linuxaffected 4.19 ; unaffected 0 < 4.19 ; unaffected 4.19.317 ≤ 4.19.* ; unaffected 5.4.279 ≤ 5.4.* ; unaffected 5.10.221 ≤ 5.10.* ; unaffected 5.15.162 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD