Skip to contentSkip to conversation

CVE-2026-63966: iio: imu: adis16550: fix stack leak in trigger handler

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 19

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

iio: imu: adis16550: fix stack leak in trigger handler

adis16550_trigger_handler() declares the scan data array on the stack without initializing it. The memcpy() at the bottom fills only the first 28 bytes (TEMP + 6 channels of GYRO/ACCEL data), and iio_push_to_buffers_with_timestamp() writes the s64 timestamp at the 8-byte-aligned offset 32. Bytes 28-31 remain uninitialized stack data which leaks to userspace on ever trigger.

Fix this all by just zero-initializing the structure on the stack.

The Linux kernel CVE team has assigned CVE-2026-63966 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.15 with commit e4570f4bb231f01e32d44fd38841665f340d6914 and fixed in 6.18.35 with commit ce582b22dd2ff15ac99101c22ec1559d1febe2ff
	Issue introduced in 6.15 with commit e4570f4bb231f01e32d44fd38841665f340d6914 and fixed in 7.0.12 with commit c2c255444392872cbbf46d640cb3a938e8000309
	Issue introduced in 6.15 with commit e4570f4bb231f01e32d44fd38841665f340d6914 and fixed in 7.1 with commit 474f8928d50b09f7dcf507049f08732640b88b49

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-63966

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	drivers/iio/imu/adis16550.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/ce582b22dd2ff15ac99101c22ec1559d1febe2ff
	https://git.kernel.org/stable/c/c2c255444392872cbbf46d640cb3a938e8000309
	https://git.kernel.org/stable/c/474f8928d50b09f7dcf507049f08732640b88b49