iio: adc: ti-ads8688: fix information leak in triggered buffer
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 61fa5dfa5f52806f5ce37a0ba5712c271eb22f98 · < 485570ed82b7a6bb109fa1d0a79998e21f7f4c73| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iio: adc: ti-ads8688: fix information leak in triggered buffer
The 'buffer' local array is used to push data to user space from a triggered buffer, but it does not set values for inactive channels, as it only uses iio_for_each_active_channel() to assign new values.
Initialize the array to zero before using it to avoid pushing uninitialized information to userspace.
From the CVE record · Linux
The Linux kernel ti-ads8688 ADC driver can send uninitialized data to user space because its triggered buffer does not set values for inactive channels. A user reading that buffer may receive uninitialized information; the input does not specify authentication requirements.
Engineers running Linux kernels with the ti-ads8688 ADC driver should check their installations; affected versions are not specified.