{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "10b40ffba2f95cdeed47b731c5ad5ecc73e140e8"
            },
            {
              "fixed": "9db6684fab228edd3b8861a172ccbce3236f027a"
            },
            {
              "fixed": "4fd5a61e61d6899cbd45728a5fceba49a53c222d"
            },
            {
              "fixed": "7dbb518f3328ebd9d5c6e970b4befad6deb5c7f1"
            },
            {
              "fixed": "56c423b233b214182c58c99861899327b45b0d6c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.1.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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98660.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: pressure: bmp280: fix out-of-bounds access in sampling frequency lookup\n\nThe sampling frequency tables store each frequency as an integer part and\na fractional part in micro units. num_sampling_freq_avail is initialized\nto the number of flattened integer elements because read_avail() returns\nthe table as a flat array.\n\nbmp280_write_sampling_frequency(), however, indexes the same table as a\ntwo-dimensional array and uses num_sampling_freq_avail as the number of\nrows. Convert the flattened element count back to the number of rows\nbefore iterating over the table.",
  "id": "CVE-2026-98660",
  "modified": "2026-10-20T02:30:43.949038150Z",
  "published": "2026-10-18T15:44:19.707Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4fd5a61e61d6899cbd45728a5fceba49a53c222d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/56c423b233b214182c58c99861899327b45b0d6c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7dbb518f3328ebd9d5c6e970b4befad6deb5c7f1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9db6684fab228edd3b8861a172ccbce3236f027a"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98660.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98660"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "iio: pressure: bmp280: fix out-of-bounds access in sampling frequency lookup"
}