lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025011939-CVE-2024-57911-0e13@gregkh>
Date: Sun, 19 Jan 2025 12:52:42 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: 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.

The Linux kernel CVE team has assigned CVE-2024-57911 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 4.5 with commit 415f792447572ef1949a3cef5119bbce8cc66373 and fixed in 6.1.125 with commit b0642d9c871aea1f28eb02cd84d60434df594f67
	Issue introduced in 4.5 with commit 415f792447572ef1949a3cef5119bbce8cc66373 and fixed in 6.6.72 with commit 74058395b2c63c8a438cf199d09094b640f8c7f4
	Issue introduced in 4.5 with commit 415f792447572ef1949a3cef5119bbce8cc66373 and fixed in 6.12.10 with commit ea703cda36da0dacb9a2fd876370003197d8a019
	Issue introduced in 4.5 with commit 415f792447572ef1949a3cef5119bbce8cc66373 and fixed in 6.13-rc7 with commit 333be433ee908a53f283beb95585dfc14c8ffb46

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2024-57911
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/iio/dummy/iio_simple_dummy_buffer.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/b0642d9c871aea1f28eb02cd84d60434df594f67
	https://git.kernel.org/stable/c/74058395b2c63c8a438cf199d09094b640f8c7f4
	https://git.kernel.org/stable/c/ea703cda36da0dacb9a2fd876370003197d8a019
	https://git.kernel.org/stable/c/333be433ee908a53f283beb95585dfc14c8ffb46

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ