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 E211B374E64 for ; Sat, 15 Aug 2026 06:30:23 +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=1786775425; cv=none; b=SrERoj7DLmnpZmO17j/ffRFmzeTgELO9JYv3mg/zt+AGTRJTGItvaG00udvyII2oZNrZTGC2sbMnkaIVxToNp2Fns/OOsZ9QcGilOd081D8t+YxhWHaYihtNNt4FmHOyBsvC6YwAVCUczm1r/jFacz8+wSJocYmiwlsH3b7RDAU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775425; c=relaxed/simple; bh=t7yn3PKJ0qpZ9W/9nDDIFnKQLNu+gtSE7YCrzCt1QpA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Phr9G52NYtHWVgsj/wzITL6m53FM38J77lgF7BzKA6gCOvvKuklGLySLbQbMFvFeq/ibwXmjxOEstafW70l/r81Ig0BVJNJGx5vFypyh30IHhQ2qTJs5BdHDCyNQNQQf1FjHG0EKSwpwau6ldIGb8x9pGadXpWmFLLcHJexgq7k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JVwfAPsM; 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="JVwfAPsM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D90C1F000E9; Sat, 15 Aug 2026 06:30:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775423; bh=F9xKMdAP29YujzSYuc4WuG2KCamkSPUdXPph29LzC+U=; h=From:To:Cc:Subject:Date:Reply-To; b=JVwfAPsMAFfc9Ehks0V+bBl7obynqPutQ8gE7R1J4XZds6N6WBxY+IGatxZ3A0p1A lht/lrJ4HNbvSFOz0MhH7vkNWVEHnPCLms5wNHdC/zF/m62nciLbUG9l+k+fcHLsnY HXPbiPW3TEfM7bETs2rmyvTPbn48wYTZ69bRXGc4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72480: iio: adc: xilinx-ams: fix out-of-bounds channel lookup in event handling Date: Sat, 15 Aug 2026 15:09:19 +0900 Message-ID: <2026081536-CVE-2026-72480-0c66@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=3019; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OkdTkaac0BtICF0vUHoV5M4lb1hKowUHNq9/OJT7I4Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDH8ULfrdPXXu7ZP+GB1YI3hVrfr12ZXM8XPvPfb+z Poz/uzRjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIUwXDbDZp9azjd9QYviid nPPsRNrmymUOcxnmx31qnbDCc/Veg9aOnKZfVtvnqn16CQA= 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: xilinx-ams: fix out-of-bounds channel lookup in event handling ams_event_to_channel() may return a pointer past the end of dev->channels when no matching scan_index is found. This can lead to invalid memory access in ams_handle_event(). Add a bounds check in ams_event_to_channel() and return NULL when no channel is found. Also guard the caller to safely handle this case. The Linux kernel CVE team has assigned CVE-2026-72480 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit d5c70627a79455154f5f636096abe6fe57510605 and fixed in 6.1.178 with commit 116d1f8805ae2daadbac89d24da4c0da50b9edae Issue introduced in 5.17 with commit d5c70627a79455154f5f636096abe6fe57510605 and fixed in 6.6.145 with commit 94d158985b6ea011bdc26186f42d662a156da6cb Issue introduced in 5.17 with commit d5c70627a79455154f5f636096abe6fe57510605 and fixed in 6.12.97 with commit 1d24f14e049fdd769146dda026496ed23b397ed9 Issue introduced in 5.17 with commit d5c70627a79455154f5f636096abe6fe57510605 and fixed in 6.18.40 with commit 9ac3675bf875792dced45efbf47116719a7c097b Issue introduced in 5.17 with commit d5c70627a79455154f5f636096abe6fe57510605 and fixed in 7.1.5 with commit 3c374d33f1338dbb5676919c5194caa9c5aa1631 Issue introduced in 5.17 with commit d5c70627a79455154f5f636096abe6fe57510605 and fixed in 7.2-rc1 with commit 947eb6f0a274f8b15a0248051a65b069effd5057 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-72480 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/xilinx-ams.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/116d1f8805ae2daadbac89d24da4c0da50b9edae https://git.kernel.org/stable/c/94d158985b6ea011bdc26186f42d662a156da6cb https://git.kernel.org/stable/c/1d24f14e049fdd769146dda026496ed23b397ed9 https://git.kernel.org/stable/c/9ac3675bf875792dced45efbf47116719a7c097b https://git.kernel.org/stable/c/3c374d33f1338dbb5676919c5194caa9c5aa1631 https://git.kernel.org/stable/c/947eb6f0a274f8b15a0248051a65b069effd5057