7.1high
iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer
- Severity
- 7.1high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer The 'data' array is allocated via kmalloc() and it 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. Use kzalloc for the memory allocation to avoid pushing uninitialized information to userspace.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 415f792447572ef1949a3cef5119bbce8cc66373 before 03fa47621bf8fcbf5994c5716021527853f9af3d, from 415f792447572ef1949a3cef5119bbce8cc66373 before e1c1e8c05010103c9c9ea3e9c4304b0b7e2c8e4a, from 415f792447572ef1949a3cef5119bbce8cc66373 before 006073761888a632c5d6f93e47c41760fa627f77, from 415f792447572ef1949a3cef5119bbce8cc66373 before b0642d9c871aea1f28eb02cd84d60434df594f67, from 415f792447572ef1949a3cef5119bbce8cc66373 before 74058395b2c63c8a438cf199d09094b640f8c7f4, from 415f792447572ef1949a3cef5119bbce8cc66373 before ea703cda36da0dacb9a2fd876370003197d8a019, from 415f792447572ef1949a3cef5119bbce8cc66373 before 333be433ee908a53f283beb95585dfc14c8ffb46, 4.5 Not affected: before 4.5, from 5.4.290 up to 5.4.*, from 5.10.234 up to 5.10.*, from 5.15.177 up to 5.15.*, from 6.1.125 up to 6.1.*, from 6.6.72 up to 6.6.* | CVE List |
| linux linux_kernel | from 4.5 before 5.4.290, from 5.5 before 5.10.234, from 5.11 before 5.15.177, from 5.16 before 6.1.125, from 6.2 before 6.6.72, from 6.7 before 6.12.10, 6.13 | NVD |
All scores
| CISA-ADP | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer The 'data' array is allocated via kmalloc() and it 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. Use kzalloc for the memory allocation to avoid pushing uninitialized information to userspace.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iio: dummy: iio_simply_dummy_buffer: corrige la fuga de información en el búfer activado La matriz 'data' se asigna a través de kmalloc() y se utiliza para enviar datos al espacio del usuario desde un búfer activado, pero no establece valores para canales inactivos, ya que solo utiliza iio_for_each_active_channel() para asignar nuevos valores. Utilice kzalloc para la asignación de memoria para evitar enviar información no inicializada al espacio del usuario.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-57911 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-57911 changed 2026-06-17 | Public domain |