Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected e4570f4bb231f01e32d44fd38841665f340d6914 before ce582b22dd2ff15ac99101c22ec1559d1febe2ff; affected e4570f4bb231f01e32d44fd38841665f340d6914 before c2c255444392872cbbf46d640cb3a938e8000309; affected e4570f4bb231f01e32d44fd38841665f340d6914 before 474f8928d50b09f7dcf507049f08732640b88b49 |
| Linux / Linux | affected 6.15; unaffected 0 before 6.15; unaffected 6.18.35 through 6.18.*; unaffected 7.0.12 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.