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 D7DBB48593C for ; Sun, 18 Oct 2026 16:22:43 +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=1792340564; cv=none; b=fYp/M209Y1mmL9FHZffpS7Zo0hiJVFd+OV5we8pMdW+23Nc7EeHlcDcNfKE6iuGEFGrqrTliLG8U1pAZ25VQ0NKCqzKso8kj44nW1i+JE5t9ZStz0v24Uo2bfhzZdWYq91QHXwyg4I53oWnDy/TLBYjqJFI7KUivF9dQ1BEqyPw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340564; c=relaxed/simple; bh=fEouyUcwpDYh0ukYGPs+K8v3M+VA0TQqt2vwULH4BNM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XXTkyP8HPknj8u4a0EIsv4qInMGUget2jh2V90QFHyk+Hynm2ZvhQp7f0ddbZFb48pSMS6c4HdG/1YapV08NTjGsk6Pr7Oc61/W4yFepa5F+hpZHuF5lzT6W6imnYG3kwhZ4AMxK5GG9SLNLqvO+N/KBxcuOj1CBv4a5lSfJs8k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RkR1d4rm; 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="RkR1d4rm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B1401F000C4; Sun, 18 Oct 2026 16:22:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792340563; bh=rBMP7ulKCyGPn+H5KNoiLtBG8C8dN//5RdLn0uO+fio=; h=From:To:Cc:Subject:Date:Reply-To; b=RkR1d4rmX/SLUN6r3crAliYBNU8SjwwJ7+IE0v23jVmr5I+YKSGoE87X5qIKoiFLY u6tlv+pI4ZGhVbk5ZTU9rfdLVz5x7c2qUK6B+PVIbuRcqJOF2CgCqYZuABS7X5Cck3 jRpXhz+vouh9EwrMhKV0KxJjgQujmHjDOWX7s5fA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98835: iio: accel: kionix-kx022a: Fix array boundary check Date: Sun, 18 Oct 2026 17:46:50 +0200 Message-ID: <2026101831-CVE-2026-98835-4498@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=2511; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=U9GZjEnIoPUffS7viCBMy+DDiHKBo5RY2+bcIdCcAbo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXsZ/yry346zKB8XJB5IDr3EtmXT41bWZ5xa8Czo9Y 80i9vlp0zpiWRgEmRhkxRRZvmzjObq/4pCil6HtaZg5rEwgQxi4OAVgIqfWMixYfVttQcu/KJuF zyMLz2SpL9h4uK2QYcE1059GhqXSzx5Lv+eof27YVlZntAYA 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: accel: kionix-kx022a: Fix array boundary check The driver performs a sanity check for an array size, when converting a register value to an array index. The check incorrectly accepts the sizeof(array) as a last index, when last valid index should be sizeof(array) - 1. Fix the check by bailing out when index >= sizeof(array). The Linux kernel CVE team has assigned CVE-2026-98835 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 7c1d1677b3227c6b18ac999f2b84778baa280b8f and fixed in 6.12.113 with commit 87746be179dca4d94d73d5a323a39a87bb2e90fc Issue introduced in 6.2 with commit 7c1d1677b3227c6b18ac999f2b84778baa280b8f and fixed in 6.18.56 with commit 4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d Issue introduced in 6.2 with commit 7c1d1677b3227c6b18ac999f2b84778baa280b8f and fixed in 7.2.10 with commit 22d377178de281d21ddf908d03a8e9fde3339d9f Issue introduced in 6.2 with commit 7c1d1677b3227c6b18ac999f2b84778baa280b8f and fixed in 7.3-rc6 with commit 0e65412aee4f651d2c9785f542a13e4b44002a75 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-98835 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/accel/kionix-kx022a.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/87746be179dca4d94d73d5a323a39a87bb2e90fc https://git.kernel.org/stable/c/4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d https://git.kernel.org/stable/c/22d377178de281d21ddf908d03a8e9fde3339d9f https://git.kernel.org/stable/c/0e65412aee4f651d2c9785f542a13e4b44002a75