Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 070151C32FF for ; Sun, 19 Jan 2025 11:53:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737287613; cv=none; b=IcO0btHiOiiLJf6K1WYNH6a/wgmrXZ+43TCKa/oSSD9RQywyXJsaGAS8Xjnrmaj+xP0aDw4Y6dpcb6xTvv7Ro7kSJiI48G5HhtrEE++h1v7M1YyQZ/IGxBqUaLqE4OTIp35K6iy+X75poHQFXfKnXcWdpMgrd180QIucEC80+0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737287613; c=relaxed/simple; bh=5V2m9AyTPVzSo0PxQAL6nj7cjRRO9ZQeET509Hp6Hfs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tqJh2MA9i7/K0pj7BDjsYGv0zDsd17B6swCxn56j+QESe2SVxPRO/k5MeRcOLICJXVWBEieiJbciP8YSZwxCzmJDiA60geHrD85Zw0x8qZEHgm3nf7wJ7jCMyqxeRjw3Jo6VJt81DbngWo3jlbNut6sm1c++CuiRvMXYqfreWAY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=emPo/9ZS; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="emPo/9ZS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18815C4CED6; Sun, 19 Jan 2025 11:53:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1737287612; bh=5V2m9AyTPVzSo0PxQAL6nj7cjRRO9ZQeET509Hp6Hfs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=emPo/9ZSlUOB8+mAzumw+8WfzLsAy/rS96uTyuu4Hn7brY67+9OXMpENViERrz0Fe pwJfS3BiuMvo9wvSouxIrcsBW8a6JP0RygaUUiVQ48VXpT4fvzqlDlzpLnOzoO+xnX JSg9zypOS/0syV6g0A/Fiv5ysbrGsslzDGJXHGyM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-57906: iio: adc: ti-ads8688: fix information leak in triggered buffer Date: Sun, 19 Jan 2025 12:52:37 +0100 Message-ID: <2025011937-CVE-2024-57906-6e61@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2961; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5V2m9AyTPVzSo0PxQAL6nj7cjRRO9ZQeET509Hp6Hfs=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk9z1vj3v5i3/zUze9SYHobq5Ix45t7bEfD1b+e9ePea vx5sbtTRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyk+Q3Dgi1yEwJcXzFtnrvn 18p1p5Kf2so0LmaY7/0mWMqO6ejXRd02ntX9GbnFl/+VAgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads8688: fix information leak in triggered buffer The 'buffer' local array 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 array to zero before using it to avoid pushing uninitialized information to userspace. The Linux kernel CVE team has assigned CVE-2024-57906 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit 61fa5dfa5f52806f5ce37a0ba5712c271eb22f98 and fixed in 6.1.125 with commit ebe2672bc42a0dfe31bb539f8ce79d024aa7e46d Issue introduced in 5.14 with commit 61fa5dfa5f52806f5ce37a0ba5712c271eb22f98 and fixed in 6.6.72 with commit 455df95eb8f24a37abc549d6738fc8ee07eb623b Issue introduced in 5.14 with commit 61fa5dfa5f52806f5ce37a0ba5712c271eb22f98 and fixed in 6.12.10 with commit 485570ed82b7a6bb109fa1d0a79998e21f7f4c73 Issue introduced in 5.14 with commit 61fa5dfa5f52806f5ce37a0ba5712c271eb22f98 and fixed in 6.13-rc7 with commit 2a7377ccfd940cd6e9201756aff1e7852c266e69 Issue introduced in 4.19.198 with commit 91664385e6c49f1e961e822f2d024776ac22102a Issue introduced in 5.4.132 with commit 26aa12ef64ee997d293659bbf645c6df99fb73e5 Issue introduced in 5.10.50 with commit c923e9effe50b0a83e74e1940afbecef5456bfda Issue introduced in 5.12.17 with commit a65024fc5754f2fca73541373a2502bef603565b Issue introduced in 5.13.2 with commit 3563bb70d6baa0a5e8082397e13f62f26053c04d 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-57906 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-ads8688.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/ebe2672bc42a0dfe31bb539f8ce79d024aa7e46d https://git.kernel.org/stable/c/455df95eb8f24a37abc549d6738fc8ee07eb623b https://git.kernel.org/stable/c/485570ed82b7a6bb109fa1d0a79998e21f7f4c73 https://git.kernel.org/stable/c/2a7377ccfd940cd6e9201756aff1e7852c266e69