CVE-2026-63967

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

published July 19, 2026

CVSS
—
EPSS
0%
Percentile
10.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00211 · 10.8th percentile
Published
2026-07-19T14:55Z
EPSS history
Timeline
  • 19 JUL 14:55Z
    iio: imu: st_lsm6dsx: fix stack leak in tagged FIFO buffer
    cvelistv5