Skip to content
Heist/ feed
Back to feed
UnratedFix available

iio: pressure: bmp280: fix out-of-bounds access in sampling frequency lookup

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: iio: pressure: bmp280: fix out-of-bounds access in sampling frequency lookup The sampling frequency tables store each frequency as an integer part and a fractional part in micro units. num_sampling_freq_avail is initialized to the number of flattened integer elements because read_avail() returns the table as a flat array. bmp280_write_sampling_frequency(), however, indexes the same table as a two-dimensional array and uses num_sampling_freq_avail as the number of rows. Convert the flattened element count back to the number of rows before iterating over the table.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.191, 6.12.113, 6.18.56, 6.6.160, 7.2.10
CVEs
CVE-2026-98660
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 02:38 UTC · Revision 1

Source evidence

iio: pressure: bmp280: fix out-of-bounds access in sampling frequency lookup

core-osv · Original source

Published 18 Oct 2026, 15:44 UTC

In the Linux kernel, the following vulnerability has been resolved: iio: pressure: bmp280: fix out-of-bounds access in sampling frequency lookup The sampling frequency tables store each frequency as an integer part and a fractional part in micro units. num_sampling_freq_avail is initialized to the number of flattened integer elements because read_avail() returns the table as a flat array. bmp280_write_sampling_frequency(), however, indexes the same table as a two-dimensional array and uses num_sampling_freq_avail as the number of rows. Convert the flattened element count back to the number of rows before iterating over the table.

osv:CVE-2026-98660

Kernel

Fixed versions: 6.1.191, 6.6.160, 6.12.113, 6.18.56, 7.2.10

Complete source record
{
  "id": "38ff749909fd68b1499c5f8c41a245c0950e139c730542792febacae82397930",
  "url": "https://osv.dev/vulnerability/CVE-2026-98660",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "iio: pressure: bmp280: fix out-of-bounds access in sampling frequency lookup",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: iio: pressure: bmp280: fix out-of-bounds access in sampling frequency lookup The sampling frequency tables store each frequency as an integer part and a fractional part in micro units. num_sampling_freq_avail is initialized to the number of flattened integer elements because read_avail() returns the table as a flat array. bmp280_write_sampling_frequency(), however, indexes the same table as a two-dimensional array and uses num_sampling_freq_avail as the number of rows. Convert the flattened element count back to the number of rows before iterating over the table.",
    "evidence": "osv:CVE-2026-98660",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.191",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.160",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.113",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.56",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98660",
      "aliases": [
        "CVE-2026-98660"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "10b40ffba2f95cdeed47b731c5ad5ecc73e140e8"
                },
                {
                  "fixed": "fed876157271fc4bc28b8739ad73642553a5920e"
                },
                {
                  "fixed": "05ef1af381a0f4556c7e3c0dc6bc2428d16c707e"
                },
                {
                  "fixed": "9db6684fab228edd3b8861a172ccbce3236f027a"
                },
                {
                  "fixed": "4fd5a61e61d6899cbd45728a5fceba49a53c222d"
                },
                {
                  "fixed": "7dbb518f3328ebd9d5c6e970b4befad6deb5c7f1"
                },
                {
                  "fixed": "56c423b233b214182c58c99861899327b45b0d6c"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98660.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.191"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.160"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.113"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.56"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98660.json"
          }
        }
      ],
      "modified": "2026-11-01T02:30:22.725867219Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/05ef1af381a0f4556c7e3c0dc6bc2428d16c707e",
        "https://git.kernel.org/stable/c/4fd5a61e61d6899cbd45728a5fceba49a53c222d",
        "https://git.kernel.org/stable/c/56c423b233b214182c58c99861899327b45b0d6c",
        "https://git.kernel.org/stable/c/7dbb518f3328ebd9d5c6e970b4befad6deb5c7f1",
        "https://git.kernel.org/stable/c/9db6684fab228edd3b8861a172ccbce3236f027a",
        "https://git.kernel.org/stable/c/fed876157271fc4bc28b8739ad73642553a5920e",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98660.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-98660",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98660.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98660",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 514348,
  "published_at": "2026-10-18T15:44:19.707+00:00"
}