iio: imu: st_lsm6dsx: fix stack leak in tagged FIFO buffer
Summary
| CVE | CVE-2026-63967 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-19 16:17:15 UTC |
| Updated | 2026-07-19 16:17:15 UTC |
| 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. |
Risk And Classification
EPSS: 0.002100000 probability, percentile 0.113700000 (date 2026-07-20)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 ff8d3c088b77b11782f2c3b97e37425be050e8de git | Not specified |
| CNA | Linux | Linux | affected c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 fe1a7f99e72ebd2880515332b79b8c256be22aca git | Not specified |
| CNA | Linux | Linux | affected c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 babf1943a40bb5669db57d30ca16c22504b18e07 git | Not specified |
| CNA | Linux | Linux | affected c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 d42ac0bfb6a16617c62a59d53706579c7fadbfa6 git | Not specified |
| CNA | Linux | Linux | affected c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 3147b303b8c7d9f91da4b849ece33b45048f5eaf git | Not specified |
| CNA | Linux | Linux | affected c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 e6bb3a49c5f9de870ea95e69775df785728e3366 git | Not specified |
| CNA | Linux | Linux | affected c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 890d0312d5f94be43eac21f5a34d3bccc60d051b git | Not specified |
| CNA | Linux | Linux | affected c14edb4d0bdc53f969ea84c7f384472c28b1a9f8 c9d8e9adaa63150ef7e833480b799d0bab83a276 git | Not specified |
| CNA | Linux | Linux | affected a42ca3b182ccb766666a0be1053921cba190e2de git | Not specified |
| CNA | Linux | Linux | affected 5.9.5 5.10 semver | Not specified |
| CNA | Linux | Linux | affected 5.10 | Not specified |
| CNA | Linux | Linux | unaffected 5.10 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.259 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.210 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.176 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.143 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.93 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.35 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.12 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/890d0312d5f94be43eac21f5a34d3bccc60d051b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/d42ac0bfb6a16617c62a59d53706579c7fadbfa6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/babf1943a40bb5669db57d30ca16c22504b18e07 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e6bb3a49c5f9de870ea95e69775df785728e3366 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/fe1a7f99e72ebd2880515332b79b8c256be22aca | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/3147b303b8c7d9f91da4b849ece33b45048f5eaf | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/c9d8e9adaa63150ef7e833480b799d0bab83a276 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ff8d3c088b77b11782f2c3b97e37425be050e8de | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.