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 028D537F30C for ; Sun, 18 Oct 2026 15:48:08 +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=1792338488; cv=none; b=gvLcSkGRYFDfvgVxefG/HRDzQtrI0ztpoh0L7GX50DcQRuAGI6NltqRAV2F58QaneIOUpPiidrN9RM/yFOZ62ed9tZSDBQoRxodsXzNsQxRj/Bs0kBlAhlVpSXY6YtzOvcmvve32zW8uHxnrB1IsRdWidObl4OB2CpfoCwXALyM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792338488; c=relaxed/simple; bh=IIV2M8oNHiDY8QVJb2wsXuXIzNhV72xGMr7PlhPQNdw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VRYFX/LsIpF0jvNuLuMWoKLtgKka1atpQ233+Hk5XV1xvrLfu3JZPbCHLeJQa//8A/eas4HzwPoLch0z3vAoRZj89lg62vBoHNquVPQ4A8kFTsvQHwFbouDJGAqi4cFqnq8ohFexrR02Vjls42jlgJxb96p1vSRa6anFvwp1oH4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0HkKxN9/; 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="0HkKxN9/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35DE91F000C4; Sun, 18 Oct 2026 15:48:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792338487; bh=ccl4SEG2NBUH2o4wRnM5zG6C74iRVjj0cszhkCqfZ3Q=; h=From:To:Cc:Subject:Date:Reply-To; b=0HkKxN9/qAnoTexS35bs2absmmFkQpxEbV84hyjnUVgdn2nDTnSKq/692Y8Az3Pbz WoigzCMVNxH/R8m/FClt63rdsORJ2CWcLMS6DnY1LXGg8j39t/3isuNPg0NpD+OgeK iiq81hnYNd1M4+yOI8v1a/6MqG/+L5juUow3ZYO0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98678: iio: adc: ad4030: fix invalid oversampling_ratio validation Date: Sun, 18 Oct 2026 17:44:13 +0200 Message-ID: <2026101800-CVE-2026-98678-9c85@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=2242; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pnwZtb88maDK/IMjTOnecloZZ1hfzHUYYlDa4dbaGWY=; b=kA0DAAIRMUfUDdst+ykByyZiAGrU6UCiCQnS60N7T1TtVRwFyxy0m9ikrVGBNa+IhUIcUwcj9 ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmrU6UAACgkQMUfUDdst+ylQyQCg2fog EbeLoqweaWRofOHPB49RbVYAn2DI2M38X9WM7MLq7oASNc95J3eJ 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: ad4030: fix invalid oversampling_ratio validation In ad4030_set_avg_frame_len(), the logarithm is calculated before input validation. Passing zero or negative values leads to an undefined result from ilog2(). Validate that the input is strictly positive prior to computing its logarithm. The Linux kernel CVE team has assigned CVE-2026-98678 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 and fixed in 6.18.56 with commit 6b0cc4e32599f59c994a60743f53fc72cb2979f4 Issue introduced in 6.15 with commit 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 and fixed in 7.2.10 with commit 6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1 Issue introduced in 6.15 with commit 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 and fixed in 7.3-rc6 with commit d615210564205993e8f0e7ccb57cc2e66b7d5706 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-98678 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/ad4030.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/6b0cc4e32599f59c994a60743f53fc72cb2979f4 https://git.kernel.org/stable/c/6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1 https://git.kernel.org/stable/c/d615210564205993e8f0e7ccb57cc2e66b7d5706