{
  "id": "CVE-2026-31764",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31764",
  "published_at": "2026-05-01T14:14:55.23Z",
  "title": "iio: imu: st_lsm6dsx: Set buffer sampling frequency for accelerometer only",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: imu: st_lsm6dsx: Set buffer sampling frequency for accelerometer only\n\nThe st_lsm6dsx_hwfifo_odr_store() function, which is called when userspace\nwrites the buffer sampling frequency sysfs attribute, calls\nst_lsm6dsx_check_odr(), which accesses the odr_table array at index\n`sensor-\u003eid`; since this array is only 2 entries long, an access for any\nsensor type other than accelerometer or gyroscope is an out-of-bounds\naccess.\n\nThe motivation for being able to set a buffer frequency different from the\nsensor sampling frequency is to support use cases that need accurate event\ndetection (which requires a high sampling frequency) while retrieving\nsensor data at low frequency. Since all the supported event types are\ngenerated from acceleration data only, do not create the buffer sampling\nfrequency attribute for sensor types other than the accelerometer.",
  "cwe": "CWE-129",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 6b648a36c200dfd3e776e657a4c8a8ce63fb52d3, \u003c 3225a81e8d264442b14c7c1bc965ebafa3c0ee01",
          "\u003e= 6b648a36c200dfd3e776e657a4c8a8ce63fb52d3, \u003c 679c04c10d65d32a3f269e696b22912ff0a001b9"
        ],
        "fixed_in": [
          "3225a81e8d264442b14c7c1bc965ebafa3c0ee01",
          "679c04c10d65d32a3f269e696b22912ff0a001b9"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.19"
        ],
        "fixed_in": [
          "0",
          "6.19.12",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 3225a81e8d264442b14c7c1bc965ebafa3c0ee01 or 679c04c10d65d32a3f269e696b22912ff0a001b9 or later.",
      "Upgrade Linux to 0 or 6.19.12 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
