Lucene search

K
cvelistLinuxCVELIST:CVE-2024-42086
HistoryJul 29, 2024 - 4:26 p.m.

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

2024-07-2916:26:27
Linux
www.cve.org
4
linux kernel
vulnerability
iio
chemical
bme680
overflows
compensate
functions
bit shifting ops
bosch bme680 sensor

EPSS

0

Percentile

13.5%

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”).

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/iio/chemical/bme680_core.c"
    ],
    "versions": [
      {
        "version": "1b3bd8592780",
        "lessThan": "6fa31bbe2ea8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1b3bd8592780",
        "lessThan": "b0af334616ed",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1b3bd8592780",
        "lessThan": "c326551e99f5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1b3bd8592780",
        "lessThan": "7a13d1357658",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1b3bd8592780",
        "lessThan": "ba1bb3e2a38a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1b3bd8592780",
        "lessThan": "b5967393d50e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1b3bd8592780",
        "lessThan": "3add41bbda92",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1b3bd8592780",
        "lessThan": "fdd478c3ae98",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/iio/chemical/bme680_core.c"
    ],
    "versions": [
      {
        "version": "4.19",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.19",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.317",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.279",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.221",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.162",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.97",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.37",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.8",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

13.5%