Bug 2502342 (CVE-2026-63967) - CVE-2026-63967 kernel: iio: imu: st_lsm6dsx: fix stack leak in tagged FIFO buffer
Summary: CVE-2026-63967 kernel: iio: imu: st_lsm6dsx: fix stack leak in tagged FIFO bu...
Keywords:
Status: NEW
Alias: CVE-2026-63967
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-19 16:02 UTC by OSIDB Bzimport
Modified: 2026-07-21 23:01 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-19 16:02:55 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.