CVE-2026-63967
iio: imu: st_lsm6dsx: fix stack leak in tagged FIFO buffer
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: iio: imu: st_lsm6dsx: fix stack leak in tagged FIFO buffer The tagged FIFO path declares iio_buff on the stack with __aligned(8) but no initializer, but there is a hole in the structure, which will then leak to userspace as ST_LSM6DSX_SAMPLE_SIZE bytes (6) will be copied, but the space between that and the timestamp are not initialized. Commit c14edb4d0bdc ("iio:imu:st_lsm6dsx Fix alignment and data leak issues") moved the untagged FIFO path to a kzalloc'd buffer in hw->scan, but for the tagged path it only added the alignment qualifier and not the initializer :( Fix this by just zero-initializing the structure on the stack.
Timeline
- CVE published
Affected versions
- Linux Linux
From 5.9.5 · fixed in 5.10
- Linux Linux
5.10
References 8
git.kernel.org
- stable/c/ff8d3c088b77b11782f2c3b97e37425be050e8de
- stable/c/fe1a7f99e72ebd2880515332b79b8c256be22aca
- stable/c/babf1943a40bb5669db57d30ca16c22504b18e07
- stable/c/d42ac0bfb6a16617c62a59d53706579c7fadbfa6
- stable/c/3147b303b8c7d9f91da4b849ece33b45048f5eaf
- stable/c/e6bb3a49c5f9de870ea95e69775df785728e3366
- stable/c/890d0312d5f94be43eac21f5a34d3bccc60d051b
- stable/c/c9d8e9adaa63150ef7e833480b799d0bab83a276