iio: imu: kmx61: fix information leak in triggered buffer
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c3a23ecc0901f624b681bbfbc4829766c5aa3070 · < 565814cbbaa674d2901428796801de49a611e59d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iio: imu: kmx61: 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’s kmx61 triggered buffer can expose uninitialized data to user space because inactive channels are not initialized. A local user able to read the triggered buffer may receive that data; authentication requirements are not specified.
Engineers running Linux kernels with the kmx61 IIO IMU driver should check their installations; affected versions are not specified.