# CVE-2025-68777: Input: ti_am335x_tsc - fix off-by-one error in wire_order validation

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-01-13T15:28:53.416Z
- Modified: 2026-06-17T09:59:34.293Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bb76dc09ddfc135c6c5e8eb7d3c583bfa8bdd439 before a7ff2360431561b56f559d3a628d1f096048d178; from bb76dc09ddfc135c6c5e8eb7d3c583bfa8bdd439 before 136abe173a3cc2951d70c6e51fe7abdbadbb204b; from bb76dc09ddfc135c6c5e8eb7d3c583bfa8bdd439 before 08c0b561823a7026364efb38ed7f4a3af48ccfcd; from bb76dc09ddfc135c6c5e8eb7d3c583bfa8bdd439 before bf95ec55805828c4f2b5241fb6b0c12388548570; from bb76dc09ddfc135c6c5e8eb7d3c583bfa8bdd439 before 84e4d3543168912549271b34261f5e0f94952d6e; from bb76dc09ddfc135c6c5e8eb7d3c583bfa8bdd439 before 40e3042de43ffa0017a8460ff9b4cad7b8c7cb96; from bb76dc09ddfc135c6c5e8eb7d3c583bfa8bdd439 before 248d3a73a0167dce15ba100477c3e778c4787178; 3.11 (not affected: before 3.11; from 5.10.248 up to 5.10.*; from 5.15.198 up to 5.15.*; from 6.1.160 up to 6.1.*; from 6.6.120 up to 6.6.*; from 6.12.64 up to 6.12.*; from 6.18.3 up to 6.18.*; from 6.19 up to *)

## References

- <https://git.kernel.org/stable/c/a7ff2360431561b56f559d3a628d1f096048d178>
- <https://git.kernel.org/stable/c/136abe173a3cc2951d70c6e51fe7abdbadbb204b>
- <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>

## Sources

- CVE List: [CVE-2025-68777](https://www.cve.org/CVERecord?id=CVE-2025-68777), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-68777](https://nvd.nist.gov/vuln/detail/CVE-2025-68777), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-68777 · Whole record: https://cve.day/CVE-2025-68777.json · Rebuilt by cve.day 2026-11-25T22:59:10.527Z
