What’s Vulnerable › Vulnerabilities

CVE-2024-57911: iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.234, 5.15.177, 5.4.290, 6.1.125. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-57911 or the next vulnerability affects your stack