Bug 2338844 (CVE-2024-57911) - CVE-2024-57911 kernel: iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer
Summary: CVE-2024-57911 kernel: iio: dummy: iio_simply_dummy_buffer: fix information l...
Keywords:
Status: NEW
Alias: CVE-2024-57911
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-19 12:01 UTC by OSIDB Bzimport
Modified: 2025-02-05 17:21 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-01-19 12:01:49 UTC
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.

Comment 1 Avinash Hanwate 2025-01-20 05:37:19 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025011939-CVE-2024-57911-0e13@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.