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 905A31DE4C3 for ; Sun, 19 Jan 2025 11:53:58 +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=1737287638; cv=none; b=cPrEzUy8cyTbbzS1zAvBNlvFdzcpsHj4Sxb+DqYfyii/pRW37BfvwamUep4D25eCIhfrx/2fKPLVdo7eFQOEuf0bDrKzjDE/XhkzA1TLHa3L7b8K2O3OBqgvIGXNsBS6oybHab2O2+o+ANOyStiszgZ4L6LyAPGlNe8+XixniSY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737287638; c=relaxed/simple; bh=b64B09XCORDsheTgubDpKWFntdSXDyHuQSU7koAbWfM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ML3/9OHuyuNscPFvz/TUfYnMOdyCq6GCTkdq1Q9emXxLRmCAPnUIs63lI8lp+R+hZT91pHbiwGI2H/CyKnFlVRwdolqkMGF/AqgKmEGLN69W0nEDLGnzI5wHxoK3oPAU965h2G99hlkC4wQAA/Dvoo8Jxo0bPnXmv5KmDgAtm9c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ld+QMSrk; 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="Ld+QMSrk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1418FC4CED6; Sun, 19 Jan 2025 11:53:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1737287638; bh=b64B09XCORDsheTgubDpKWFntdSXDyHuQSU7koAbWfM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Ld+QMSrkOXF3/uKvCziwKiZ7Jn8LP77DNKttEGkfVsFdINBY+ArbKYT/vKw6CrFiI hM7PFIchl9ACHGKNP6P2DCtPtFXjjbGWVYfIdZo+eAj76uIqdckORWLdKSK9EzEQXG OL8MCzdtBOzvyJkOgn9vOvfh4fviKRI+rpHHZg/M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-57909: iio: light: bh1745: fix information leak in triggered buffer Date: Sun, 19 Jan 2025 12:52:40 +0100 Message-ID: <2025011938-CVE-2024-57909-ed6a@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=2085; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=b64B09XCORDsheTgubDpKWFntdSXDyHuQSU7koAbWfM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk9z9vq3pVvS4p9tYfp8nOZbTwJLK0BHE8t2DcYzlIp0 nnYMXl1RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkhDHD/PJJ36cJyGwPtFHb Lvydje+x6cvbfQzzdF7d97Hsi3fnbmCIubjVsa9zsagrAA== 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: 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