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 B513D17166F for ; Fri, 21 Jun 2024 10:25:00 +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=1718965500; cv=none; b=l09jveLE7RMHU/LCtcBszE0CDVB/zzAJXc8wiMPcgidPyIHdjQWWLV2aB/ZoDFe493/I9OrE7OHfztCB66panfkl1C6gSpW7VZWPxVOPSxq8WHZelfav1CC6t3Ktr/nZUN3ghORG55ZEGXOeWAPyJP1xQzNgGhMKhD8YyCua3YQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718965500; c=relaxed/simple; bh=sc6ujFE0zYmodwOPYBxfdCgqWmmm35NWV5anODpFrYs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EUqHM0WT5/vzQdigIq2h2yDOfKScbXGUk8buIkJhW/I6tPURc+32OGq06pyZaoZfeJKOLObRFCpOH23NkKuqpyuI57/f1nmCCXdJHcPtaqDTGLlfVjpJTqz57P9JN/lvtgbipQStxrOn60ZrmjbpZvFvkCFjnJEzobXkrP4AeFg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tu9FBkAr; 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="tu9FBkAr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C283C2BBFC; Fri, 21 Jun 2024 10:25:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718965500; bh=sc6ujFE0zYmodwOPYBxfdCgqWmmm35NWV5anODpFrYs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=tu9FBkArz28jszxkFHAMz79vYCQ9/6D9HGKb1r5O+JmfISrLAxlB8B23/QWTkalj6 KeSUzWNC9JxQI7us78XrxLJm2ADlWw/kgslcXCeUBLuNqsvVbUmP+1zd4htiPN/UQe IQqxTS01KFPZwjtbpsruXvQhJo1c0vwmvKCIIjHU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-38631: iio: adc: PAC1934: fix accessing out of bounds array index Date: Fri, 21 Jun 2024 12:19:57 +0200 Message-ID: <2024062141-CVE-2024-38631-9637@gregkh> X-Mailer: git-send-email 2.45.2 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=1865; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sc6ujFE0zYmodwOPYBxfdCgqWmmm35NWV5anODpFrYs=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmlwXubwyxyDprWcRSEFOnPXLHt/XON9C0Csc98W7xU1 p6q9ljZEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABO5cothrqSMhNrqFZdXvbga u/8Rp7H1n+eXlzEs2Fi+Zv6y/NQHXGcD191/nsl744R8CQA= 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: PAC1934: fix accessing out of bounds array index Fix accessing out of bounds array index for average current and voltage measurements. The device itself has only 4 channels, but in sysfs there are "fake" channels for the average voltages and currents too. The Linux kernel CVE team has assigned CVE-2024-38631 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 0fb528c8255b and fixed in 6.9.4 with commit 8dbcb3a8cfdf Issue introduced in 6.9 with commit 0fb528c8255b and fixed in 6.10-rc1 with commit 51fafb3cd7fc 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-38631 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/pac1934.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/8dbcb3a8cfdf8ff5afce62dad50790278ff0d3b7 https://git.kernel.org/stable/c/51fafb3cd7fcf4f4682693b4d2883e2a5bfffe33