[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025011937-CVE-2024-57905-7d0d@gregkh>
Date: Sun, 19 Jan 2025 12:52:36 +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-57905: iio: adc: ti-ads1119: fix information leak in triggered buffer
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
iio: adc: ti-ads1119: fix information leak in triggered buffer
The 'scan' local struct is used to push data to user space from a
triggered buffer, but it has a hole between the sample (unsigned int)
and the timestamp. This hole is never initialized.
Initialize the struct to zero before using it to avoid pushing
uninitialized information to userspace.
The Linux kernel CVE team has assigned CVE-2024-57905 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.11 with commit a9306887eba41c5fe7232727a8147da3d3c4f83c and fixed in 6.12.10 with commit 2f1687cca911a2f294313c762e0646cd9e7be8cc
Issue introduced in 6.11 with commit a9306887eba41c5fe7232727a8147da3d3c4f83c and fixed in 6.13-rc7 with commit 75f339d3ecd38cb1ce05357d647189d4a7f7ed08
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-57905
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/adc/ti-ads1119.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/2f1687cca911a2f294313c762e0646cd9e7be8cc
https://git.kernel.org/stable/c/75f339d3ecd38cb1ce05357d647189d4a7f7ed08
Powered by blists - more mailing lists