Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 2AE73239E60 for ; Sun, 19 Jul 2026 12:00:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784462403; cv=none; b=KYklBhQjcif0WWWcHMrWdvi9uk0H72pKm7065fbCV0WuLrku9p2eDfCDsl815uqnb6TaQTIUmLiXSYj+nljGB9my1KZyPH/iezDcFSaFKi+3TQC0VjF1PvLVs8VdReAeAiZSk2xP5YZj/FGa5KHH2QN0WfL3H8bEaQAZGgPfcdg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784462403; c=relaxed/simple; bh=xTzEW2LQlDbIwY1H4r17M1IekPWOTkRHLkEeOk56QPc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SwmLX5jO9TRupvOivqOECxwwhSUb4oIWI9EKWvPHZGUq+ZHVNyQw3TKEPpfIsc7nm1wMupLD1wbLLKYUhmcrPN4Q51xv6UA/GUHISQCZo4TNRK3Hh8+dyyVKE9tzIBfhmwrsKyLKvM0QtiK1M8W+bGkS3VX1ajigzpc97k/brf8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Wh7GRjyb; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Wh7GRjyb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35FEC1F000E9; Sun, 19 Jul 2026 12:00:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784462401; bh=vg/yYwBeWJKGM2n57bZmDs7AalGTbwF/5Ty/yfET2aw=; h=From:To:Cc:Subject:Date:Reply-To; b=Wh7GRjyb/nQVHY6FCr12bZelljonX2+MmOZfZo3R2LbQEjVh3YRz43UDf+F9V7xkC D7txxSIkTWSCBBJQEJBJMshSVnxH7VvTaRQm2YDwDoztQsbXrVVrTJNUSuvQC7rb7p DyjUVyH+jIi4je4bD5XAD7hmAhFJYfgb880N5Uwg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53386: iio: adc: ti-ads1298: add bounds check to pga_settings index Date: Sun, 19 Jul 2026 13:59:37 +0200 Message-ID: <2026071934-CVE-2026-53386-d76b@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2380; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PGyaHp3iGPeKS8c7I7cFtxA6ka6nzKpqNTjM7kXblyg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxe9Qijkhmx85inf4w5FT7ye1Bc8UYZ8zkqlw6d/la/ Qf2geUCHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR4IMM8xSv7b1+/ezly9EX p8zZtSRlocYXbRGG+X7Xj5zce2BK5eHW5Unf619LB5v1yAEA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads1298: add bounds check to pga_settings index ads1298_pga_settings has 7 elements but ADS1298_MASK_CH_PGA can yield values 0-7. If it yields a value >= 7, this causes an out-of-bounds array access. Add a bounds check and return -EINVAL if the index is out of range. Note that the remaining value b111 is reserved so should not be seen in a correctly functioning system. The Linux kernel CVE team has assigned CVE-2026-53386 to this issue. Affected and fixed versions =========================== Fixed in 6.12.95 with commit d5793975fc3b1780ba576812158ef22e3104e60e Fixed in 6.18.37 with commit d08d82d83ed45fd8c001a9df66ad7ebb86c9d6c6 Fixed in 7.0.14 with commit abe0854e356b1bb814393ca884cb42b3eb12ce10 Fixed in 7.1.2 with commit abd776ded3e256889610595290f6ca46cb6e91ab Fixed in 7.2-rc1 with commit 95e8a48d7a85d4226934020e57815a3316d3a14b 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-2026-53386 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-ads1298.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/d5793975fc3b1780ba576812158ef22e3104e60e https://git.kernel.org/stable/c/d08d82d83ed45fd8c001a9df66ad7ebb86c9d6c6 https://git.kernel.org/stable/c/abe0854e356b1bb814393ca884cb42b3eb12ce10 https://git.kernel.org/stable/c/abd776ded3e256889610595290f6ca46cb6e91ab https://git.kernel.org/stable/c/95e8a48d7a85d4226934020e57815a3316d3a14b