[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025011938-CVE-2024-57909-ed6a@gregkh>
Date: Sun, 19 Jan 2025 12:52:40 +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-57909: iio: light: bh1745: fix information leak in triggered buffer
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
iio: light: bh1745: fix information leak in triggered buffer
The 'scan' local struct 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.
Initialize the struct to zero before using it to avoid pushing
uninitialized information to userspace.
The Linux kernel CVE team has assigned CVE-2024-57909 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.12 with commit eab35358aae705b779a7c8b405474d1290175196 and fixed in 6.12.10 with commit 1cca2a666e099aa018e5ab385f0a6e01a3053629
Issue introduced in 6.12 with commit eab35358aae705b779a7c8b405474d1290175196 and fixed in 6.13-rc7 with commit b62fbe3b8eedd3cf3c9ad0b7cb9f72c3f40815f0
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-57909
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/light/bh1745.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/1cca2a666e099aa018e5ab385f0a6e01a3053629
https://git.kernel.org/stable/c/b62fbe3b8eedd3cf3c9ad0b7cb9f72c3f40815f0
Powered by blists - more mailing lists