Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BBF54392C47 for ; Tue, 13 Jan 2026 15:29:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318172; cv=none; b=E8e4nx3n9nwPqXjzSlMTOX28dRc1I3BeYSO59XZDUnlDG6jkgLnfQazEaQg9B1KtXbPOY79OFxDzXSvOupL6tGEfHIR2Ub8fQgNR5zSsLocN9+kUh3BxtWuOwg0c59mjOtIc5EQhgDFmP50tpY2psuvKTbHSG+fMOohdI7QvhZo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318172; c=relaxed/simple; bh=1c1qtpydQZODgpTd0Up/4d7oE6ikc+QmCXJVGTP9+rY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=k5JvfxtVM+PoI9+8apAY8Eof73BJ0HQzgEgPqWI0EQ01viY95OdAIiDbiTDGFAhCmML8h8D0pUHRI+oe+7mCnvnIA3nxR/viJBSwumD1QdkT9il4a8TO0tNSSShM9IZKUkQu99taIXTqhwrLWozq8SJu1YDnxLPPve4gjk6ufKY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nYOFVJHG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="nYOFVJHG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3C84C19421; Tue, 13 Jan 2026 15:29:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318172; bh=1c1qtpydQZODgpTd0Up/4d7oE6ikc+QmCXJVGTP9+rY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=nYOFVJHGdJ2HQsGa6e6kbdJGhWz1AKhp7vTFfAVqoaA5+IPouD/iMce7qyY26iIKv IGuGbCCnljjw88tGYMOper+N5ILhtqsc4qZ1gpIVtf7SC1g+jC485nvNxblogtSB/u NfOSa9sJMg3podmncirfhJBNIEwDN9OeGQfl63xU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68777: Input: ti_am335x_tsc - fix off-by-one error in wire_order validation Date: Tue, 13 Jan 2026 16:29:03 +0100 Message-ID: <2026011359-CVE-2025-68777-2073@gregkh> X-Mailer: git-send-email 2.52.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=2865; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cp6Saeimgr1J2FBlrGAgHakRM6um7hJ1AbL2HqReFGw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpKXtWWLudPKOton946vNFs/hL6u8sWfL8m+CPeb+z+ fm2S2ladMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE1pgyzA/mT7hr9oWnXPfN oh0TQmcFLF4xp4JhQVPiuig+8RPntFLn5v+K++u2+fnJKgA= 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: Input: ti_am335x_tsc - fix off-by-one error in wire_order validation The current validation 'wire_order[i] > ARRAY_SIZE(config_pins)' allows wire_order[i] to equal ARRAY_SIZE(config_pins), which causes out-of-bounds access when used as index in 'config_pins[wire_order[i]]'. Since config_pins has 4 elements (indices 0-3), the valid range for wire_order should be 0-3. Fix the off-by-one error by using >= instead of > in the validation check. The Linux kernel CVE team has assigned CVE-2025-68777 to this issue. Affected and fixed versions =========================== Issue introduced in 3.11 with commit bb76dc09ddfc135c6c5e8eb7d3c583bfa8bdd439 and fixed in 6.1.160 with commit 08c0b561823a7026364efb38ed7f4a3af48ccfcd Issue introduced in 3.11 with commit bb76dc09ddfc135c6c5e8eb7d3c583bfa8bdd439 and fixed in 6.6.120 with commit bf95ec55805828c4f2b5241fb6b0c12388548570 Issue introduced in 3.11 with commit bb76dc09ddfc135c6c5e8eb7d3c583bfa8bdd439 and fixed in 6.12.64 with commit 84e4d3543168912549271b34261f5e0f94952d6e Issue introduced in 3.11 with commit bb76dc09ddfc135c6c5e8eb7d3c583bfa8bdd439 and fixed in 6.18.3 with commit 40e3042de43ffa0017a8460ff9b4cad7b8c7cb96 Issue introduced in 3.11 with commit bb76dc09ddfc135c6c5e8eb7d3c583bfa8bdd439 and fixed in 6.19-rc2 with commit 248d3a73a0167dce15ba100477c3e778c4787178 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-2025-68777 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/input/touchscreen/ti_am335x_tsc.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/08c0b561823a7026364efb38ed7f4a3af48ccfcd https://git.kernel.org/stable/c/bf95ec55805828c4f2b5241fb6b0c12388548570 https://git.kernel.org/stable/c/84e4d3543168912549271b34261f5e0f94952d6e https://git.kernel.org/stable/c/40e3042de43ffa0017a8460ff9b4cad7b8c7cb96 https://git.kernel.org/stable/c/248d3a73a0167dce15ba100477c3e778c4787178