SecurityContext

CVE-2026-31764: Linux kernel iio: imu: st_lsm6dsx - Out-of-Bounds Read/Write

  • Cve: CVE-2026-31764
  • Name: Linux kernel iio: imu: st_lsm6dsx - Out-of-Bounds Read/Write
  • Description: In the Linux kernel, the following vulnerability has been resolved: iio: imu: st_lsm6dsx: Set buffer sampling frequency for accelerometer only The st_lsm6dsx_hwfifo_odr_store() function, which is called when userspace writes the buffer sampling frequency sysfs attribute, calls st_lsm6dsx_check_odr(), which accesses the odr_table array at index `sensor->id`; since this array is only 2 entries long, an access for any sensor type other than accelerometer or gyroscope is an out-of-bounds access. The motivation for being able to set a buffer frequency different from the sensor sampling frequency is to support use cases that need accurate event detection (which requires a high sampling frequency) while retrieving sensor data at low frequency. Since all the supported event types are generated from acceleration data only, do not create the buffer sampling frequency attribute for sensor types other than the accelerometer.
  • Impact: Attackers can cause out-of-bounds memory access leading to potential memory corruption or system instability.
  • Remediation: Update to the latest Linux kernel version containing the fix.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: denial_of_service
  • Requirement type: logged_in
  • Requirements: Attacker needs access to write buffer sampling frequency sysfs attribute
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.0012
  • Epss percentile: 0.01864
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-05-01T15:16:39Z
  • Age in days: 207
  • Modified at: 2026-11-11T21:10:00Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-31764
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-129Improper Validation of Array Index

References

UrlSourceTags
https://git.kernel.org/stable/c/3225a81e8d264442b14c7c1bc965ebafa3c0ee01nvdPatch
https://git.kernel.org/stable/c/679c04c10d65d32a3f269e696b22912ff0a001b9nvdPatch

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 7.0 rc1; = 7.0 rc2; = 7.0 rc3; = 7.0 rc4; = 7.0 rc5; = 7.0 rc6; >= 6.19, < 6.19.12nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports