CVE-2026-63934
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
19/07/2026
Última modificación:
27/07/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
iio: gyro: itg3200: fix i2c read into the wrong stack location<br />
<br />
itg3200_read_all_channels() takes `__be16 *buf&#39; as a parameter and<br />
fills the i2c_msg destination as `(char *)&buf&#39;. Since `buf&#39; is the<br />
parameter (a pointer), `&buf&#39; is the address of the local pointer<br />
slot on the stack of itg3200_read_all_channels(), not the address<br />
of the caller&#39;s scan buffer. The (char *) cast hides the type<br />
mismatch.<br />
<br />
i2c_transfer() therefore writes ITG3200_SCAN_ELEMENTS * sizeof(s16)<br />
= 8 bytes into the parameter&#39;s stack slot, which is discarded when<br />
the function returns. The caller&#39;s scan buffer in<br />
itg3200_trigger_handler() is never written to, so<br />
iio_push_to_buffers_with_timestamp() pushes uninitialised stack<br />
contents to userspace via /dev/iio:deviceX every scan -- both a<br />
functional bug (no actual gyroscope or temperature data is<br />
delivered through the triggered buffer) and an information leak.<br />
<br />
The non-buffered read_raw() path is unaffected: it goes through<br />
itg3200_read_reg_s16() which uses `&out&#39; on a local s16 value,<br />
where that is correct.<br />
<br />
Drop the spurious `&&#39; so the i2c read writes into the caller&#39;s<br />
buffer.
Impacto
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/15a0b3f33ffb6c78b3de6f69b026ceb09b973dd1
- https://git.kernel.org/stable/c/31bbd4b87dd6701fa10e03ba7f6268e49e178d16
- https://git.kernel.org/stable/c/63203bd072b613c18c237b906b1c9d2dc4527337
- https://git.kernel.org/stable/c/6bdc3023d62ed5c7d591f0eb27a5adb37fb892ae
- https://git.kernel.org/stable/c/8654b5e2617819ff4f7c78071dfd0275e971a9b6
- https://git.kernel.org/stable/c/90e809376b0f0d1ddec2eec954aecdd2a5b40b0e
- https://git.kernel.org/stable/c/b64dd5f3b38911054cbcc570df617e3e8e75e562
- https://git.kernel.org/stable/c/cfc3283859cfdeacadf80d5e6880bdf871ffeaa6


