iio: adc: ti-ads1119: fix information leak in triggered buffer
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iio: adc: ti-ads1119: fix information leak in triggered buffer
The 'scan' local struct is used to push data to user space from a triggered buffer, but it has a hole between the sample (unsigned int) and the timestamp. This hole is never initialized.
Initialize the struct to zero before using it to avoid pushing uninitialized information to userspace.
From the CVE record · Linux
The Linux kernel’s ti-ads1119 ADC driver can expose uninitialized information through its triggered buffer. The leak occurs when the buffer pushes a scan containing an uninitialized gap between the sample and timestamp to user space; the input does not specify authentication or additional user-interaction requirements.
Engineers running Linux kernels with the ti-ads1119 ADC driver should check their systems; affected versions were not provided.