CVE-2026-31764
publishediio: imu: st_lsm6dsx: Set buffer sampling frequency for accelerometer only
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6b648a36c200dfd3e776e657a4c8a8ce63fb52d3 to < 3225a81e8d264442b14c7c1bc965ebafa3c0ee01 · 6b648a36c200dfd3e776e657a4c8a8ce63fb52d3 to < 679c04c10d65d32a3f269e696b22912ff0a001b9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 6.19.12 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6b648a36c200dfd3e776e657a4c8a8ce63fb52d3 to < 3225a81e8d264442b14c7c1bc965ebafa3c0ee01 (affected · git)6b648a36c200dfd3e776e657a4c8a8ce63fb52d3 to < 679c04c10d65d32a3f269e696b22912ff0a001b9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)6.19.12 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
iio: imu: st_lsm6dsx: Set buffer sampling frequency for accelerometer only
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8bea99ed640d992c5fc813658d4f236fbec057c85e0954ad48101af6f2be1393
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record