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 677711ACEA6 for ; Sun, 19 Jan 2025 11:54:01 +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=1737287641; cv=none; b=e5sVoWsYxztloPbvotbUE6R60nxOR7/kQe9xLAm9S5/v/8hhW3G30awFkcBcWQhTj2ePqqBBdBrijJOl2GcRK34v95Pv8bQFZ4lsWI6uHQikMNQ+LMeRlm+gaJNPC7IrRbSuKzn9PgpnHEAoFg8WZXQIpmO3D4bOUqBnwftei5Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737287641; c=relaxed/simple; bh=scveCMTM+NLAIv4IdEb9JLC7j9sTtEhjswL2Ko+WUhw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=StIW3FTeHgZ+8z2ko4oTf+khh/LfWtvTHhlHE69zqkdqE2ashW+taKjrBBm0bgv2TGDeRlGWsofQ0TV1cUZ9/d8Jv+Vf7Qk7edJxAeZbQQAubrp+LBVsWE/Iry0gl3JC/+tRDEsDEwdZ3jqvGJkPehS/v3t5s9jvM3tZ0DaKpMU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zYHuqo6G; 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="zYHuqo6G" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E540EC4CED6; Sun, 19 Jan 2025 11:54:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1737287641; bh=scveCMTM+NLAIv4IdEb9JLC7j9sTtEhjswL2Ko+WUhw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zYHuqo6Gcqqy5epUKTSXSBXylMP0fVlPQi5AbBpLNISVAKVngc8dvFdi4KhpdM9Xq Uset3Xw/z62KwahVCzVY8ttXYM6ktKrUo9TOe2fAs1KSNWPJIrzrbj7DvJdSGkz00b vxzy7GlWF3MSvfxM7n0XABN3yCPfz+vuNbL84JxA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-57910: iio: light: vcnl4035: fix information leak in triggered buffer Date: Sun, 19 Jan 2025 12:52:41 +0100 Message-ID: <2025011938-CVE-2024-57910-e4e0@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=scveCMTM+NLAIv4IdEb9JLC7j9sTtEhjswL2Ko+WUhw=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk9z9vmvDhxdOnuma82itxbbnCV+6bv8dIOnYRPwX01k W1JSxuudcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE2noYFlx7yutozXehbpdF /jbh1pNn3on1b2CYK1T5YLHAl2xu6xftqwOFudY9P2n5CQA= 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: light: vcnl4035: fix information leak in triggered buffer The 'buffer' local array is used to push data to userspace from a triggered buffer, but it does not set an initial value for the single data element, which is an u16 aligned to 8 bytes. That leaves at least 4 bytes uninitialized even after writing an integer value with regmap_read(). Initialize the array to zero before using it to avoid pushing uninitialized information to userspace. The Linux kernel CVE team has assigned CVE-2024-57910 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit ec90b52c07c0403a6db60d752484ec08d605ead0 and fixed in 6.1.125 with commit 47d245be86492974db3aeb048609542167f56518 Issue introduced in 5.14 with commit ec90b52c07c0403a6db60d752484ec08d605ead0 and fixed in 6.6.72 with commit a15ea87d4337479c9446b5d71616f4668337afed Issue introduced in 5.14 with commit ec90b52c07c0403a6db60d752484ec08d605ead0 and fixed in 6.12.10 with commit f6fb1c59776b4263634c472a5be8204c906ffc2c Issue introduced in 5.14 with commit ec90b52c07c0403a6db60d752484ec08d605ead0 and fixed in 6.13-rc7 with commit 47b43e53c0a0edf5578d5d12f5fc71c019649279 Issue introduced in 5.4.132 with commit da8ef748fec2d55db0ae424ab40eee0c737564aa Issue introduced in 5.10.50 with commit 49739675048d372946c1ef136c466d5675eba9f0 Issue introduced in 5.12.17 with commit d69f0d132563a63688efb0afb4dfeaa74a217306 Issue introduced in 5.13.2 with commit 4637815d7922c4bce3bacb13dd1fb5e9a7d167d8 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-57910 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/vcnl4035.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/47d245be86492974db3aeb048609542167f56518 https://git.kernel.org/stable/c/a15ea87d4337479c9446b5d71616f4668337afed https://git.kernel.org/stable/c/f6fb1c59776b4263634c472a5be8204c906ffc2c https://git.kernel.org/stable/c/47b43e53c0a0edf5578d5d12f5fc71c019649279