# CVE-2026-63967: iio: imu: st_lsm6dsx: fix stack leak in tagged FIFO buffer

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-07-19T14:55:54.999Z
- Modified: 2026-10-30T17:25:05.780Z
- Weaknesses: CWE-787
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 before ff8d3c088b77b11782f2c3b97e37425be050e8de; from c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 before fe1a7f99e72ebd2880515332b79b8c256be22aca; from c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 before babf1943a40bb5669db57d30ca16c22504b18e07; from c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 before d42ac0bfb6a16617c62a59d53706579c7fadbfa6; from c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 before 3147b303b8c7d9f91da4b849ece33b45048f5eaf; from c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 before e6bb3a49c5f9de870ea95e69775df785728e3366; from c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 before 890d0312d5f94be43eac21f5a34d3bccc60d051b; from c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 before c9d8e9adaa63150ef7e833480b799d0bab83a276; a42ca3b182ccb766666a0be1053921cba190e2de; from 5.9.5 before 5.10; 5.10 (not affected: before 5.10; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.9.5 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/ff8d3c088b77b11782f2c3b97e37425be050e8de> (patch)
- <https://git.kernel.org/stable/c/fe1a7f99e72ebd2880515332b79b8c256be22aca> (patch)
- <https://git.kernel.org/stable/c/babf1943a40bb5669db57d30ca16c22504b18e07> (patch)
- <https://git.kernel.org/stable/c/d42ac0bfb6a16617c62a59d53706579c7fadbfa6> (patch)
- <https://git.kernel.org/stable/c/3147b303b8c7d9f91da4b849ece33b45048f5eaf> (patch)
- <https://git.kernel.org/stable/c/e6bb3a49c5f9de870ea95e69775df785728e3366> (patch)
- <https://git.kernel.org/stable/c/890d0312d5f94be43eac21f5a34d3bccc60d051b> (patch)
- <https://git.kernel.org/stable/c/c9d8e9adaa63150ef7e833480b799d0bab83a276> (patch)

## Sources

- CVE List: [CVE-2026-63967](https://www.cve.org/CVERecord?id=CVE-2026-63967), CVE Terms of Use, modified 2026-07-19
- NVD: [CVE-2026-63967](https://nvd.nist.gov/vuln/detail/CVE-2026-63967), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-63967 · Whole record: https://cve.day/CVE-2026-63967.json · Rebuilt by cve.day 2026-11-25T22:59:28.874Z
