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 87881396D1A for ; Sun, 18 Oct 2026 15:47:09 +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=1792338430; cv=none; b=Zu94Q27VLdyWXz8YO3pLzMZaO+BYFNEk68f2Db5vq0yTrAHYdoj3dSde40NSuXESNxPqiu7IanUfbe/yyvYQWES0lj05fNTEs7cSDYwOHbMVj7QHzNeApz+2CtcBVW5VVsTuaPuQbYvhx0XcqEdDqvPVJT/be66VntedH0H8H9s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792338430; c=relaxed/simple; bh=62lbeuYfFlyU7SWK0DCby+o2UvUVDUqIcKV2nDcdEKU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FTzL2XTCCtBkdshWhP5pXiK39UiFYSDuhcP8T6AORcv2aeOtUaMgtDPs/49QwGdG2WK56YRV7NFcvm2k9pvY2suFDH4gf2p0uYGwhtQzpDHQM9DMcpgA9Z9ze2M4G+h2oFksHBXgvXbN15Qb+ANJ2z5DuZWlLZf4EQVz16MxGcQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ol7VrtLo; 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="Ol7VrtLo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 523A11F000C4; Sun, 18 Oct 2026 15:47:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792338429; bh=TjfbV9h3BYNxi4BZiAKLyb3pLH2etS6HFpLpc/mr028=; h=From:To:Cc:Subject:Date:Reply-To; b=Ol7VrtLosmIuozIpVa05cel8u8uErRP2ZFt2W4FKLGPdeH8BJXRRiM4XWuLRfupbj HS0DRSyyIIEYA898vyDRVnG9Esl6zpAILfKWFjqNOVp0bSfkkNHbqReRIvCMbg3JEP lWG/fcz57jPu7BnG9u/Fvk+clLL/TnyBoOgEs1AE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98672: iio: adc: stm32-adc: fix possible division by zero in processed channel Date: Sun, 18 Oct 2026 17:44:07 +0200 Message-ID: <2026101859-CVE-2026-98672-065a@gregkh> X-Mailer: git-send-email 2.56.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=2543; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QABsGeiNmrNix3WDw2+ikiyLnUGucPkxXg0/1HKlzxM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXtpviNmeUHNrdmHA1YQVFZPm+m/+39359dbN6wEcd z8u8Jg6uSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmEmfKsKDL9YumXL9i/4EX IguVVqSp/kicMY9hvssyxv9elzZEtF5hD77ANMEs9aX5SgA= 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: stm32-adc: fix possible division by zero in processed channel In case the conversion has failed or returned zero, processing *val can lead to a division by zero. Need to check for errors, or converted value is zero, before processing the data. In case the converted value is zero, e.g. the Vrefint channel, this should be considered as invalid in all cases. The Linux kernel CVE team has assigned CVE-2026-98672 to this issue. Affected and fixed versions =========================== Issue introduced in 5.16 with commit 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 and fixed in 6.12.113 with commit 30d27899cbba5b080954b5d3741bd535806c3101 Issue introduced in 5.16 with commit 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 and fixed in 6.18.56 with commit 6dd3bf785d0307d1cf8f4a97c2240b0af14bef50 Issue introduced in 5.16 with commit 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 and fixed in 7.2.10 with commit ab4e57adead252dd7f947baed6178f32ede88d38 Issue introduced in 5.16 with commit 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 and fixed in 7.3-rc6 with commit c5de6a6f855fdcf1e0ea549fb227a316db51c405 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-98672 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/stm32-adc.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/30d27899cbba5b080954b5d3741bd535806c3101 https://git.kernel.org/stable/c/6dd3bf785d0307d1cf8f4a97c2240b0af14bef50 https://git.kernel.org/stable/c/ab4e57adead252dd7f947baed6178f32ede88d38 https://git.kernel.org/stable/c/c5de6a6f855fdcf1e0ea549fb227a316db51c405