CVE-2026-63967

iio: imu: st_lsm6dsx: fix stack leak in tagged FIFO buffer

State
Published
Severity
Not scored
Published
Jul 19, 2026
Updated
Jul 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 to before ff8d3c088b77b11782f2c3b97e37425be050e8deAffected
  • c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 to before fe1a7f99e72ebd2880515332b79b8c256be22acaAffected
  • c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 to before babf1943a40bb5669db57d30ca16c22504b18e07Affected
  • c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 to before d42ac0bfb6a16617c62a59d53706579c7fadbfa6Affected
  • c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 to before 3147b303b8c7d9f91da4b849ece33b45048f5eafAffected
  • c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 to before e6bb3a49c5f9de870ea95e69775df785728e3366Affected
  • c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 to before 890d0312d5f94be43eac21f5a34d3bccc60d051bAffected
  • c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 to before c9d8e9adaa63150ef7e833480b799d0bab83a276Affected
  • a42ca3b182ccb766666a0be1053921cba190e2deAffected
  • 5.9.5 to before 5.10Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.259 through 5.10.*Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.93 through 6.12.*Not affected
  • 6.18.35 through 6.18.*Not affected
  • 7.0.12 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.