# CVE-2026-63908: Input: atmel_mxt_ts - fix boundary check in mxt_prepare_cfg_mem

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-07-19T14:55:14.349Z
- Modified: 2026-10-30T14:29:59.650Z
- Weaknesses: CWE-835
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

Input: atmel_mxt_ts - fix boundary check in mxt_prepare_cfg_mem

When a configuration file provides an object size that is larger than the
driver's known mxt_obj_size(object), the driver intends to discard the
extra bytes.

The loop iterates using for (i = 0; i < size; i++). Inside the loop, the
condition to skip processing extra bytes is:

    if (i > mxt_obj_size(object))
        continue;

Since i is a 0-based index, the valid indices for the object are 0 through
mxt_obj_size(object) - 1.

When i == mxt_obj_size(object), the condition evaluates to false, and the
code processes the byte instead of discarding it.

This causes the code to calculate byte_offset = reg + i - cfg->start_ofs
and writes the byte there, overwriting exactly one byte of the adjacent
instance or object.

Update the boundary check to skip extra bytes correctly by using >=.

(As written by CVE List.)

## Affected

- Linux Linux: from 50a77c658b80e7e3303e3bcec195b30e2b62d513 before 862a1a32b5190241fce7a7d20229539a3926f31e; from 50a77c658b80e7e3303e3bcec195b30e2b62d513 before 5c3681c3abc35cfac6b702251382312c60d96bc2; from 50a77c658b80e7e3303e3bcec195b30e2b62d513 before 1017e1c6c6c49cccbcda9bbcfa49e50b0b6dad39; from 50a77c658b80e7e3303e3bcec195b30e2b62d513 before e9b62996ba537774f68fecfd7eecb5aec1713952; from 50a77c658b80e7e3303e3bcec195b30e2b62d513 before ae92e334544263a02d9f99e18385e718c44392c9; from 50a77c658b80e7e3303e3bcec195b30e2b62d513 before 7f95f4792c0dc767fcb8e405391e779ab419d55a; from 50a77c658b80e7e3303e3bcec195b30e2b62d513 before 6c6b989b4ebf22b086fdfcac2163b5cb55e34d8f; from 50a77c658b80e7e3303e3bcec195b30e2b62d513 before baa0210fb6a9dc3882509a9411b6d284d88fe30e; 3.17 (not affected: before 3.17; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 3.17 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/862a1a32b5190241fce7a7d20229539a3926f31e> (patch)
- <https://git.kernel.org/stable/c/5c3681c3abc35cfac6b702251382312c60d96bc2> (patch)
- <https://git.kernel.org/stable/c/1017e1c6c6c49cccbcda9bbcfa49e50b0b6dad39> (patch)
- <https://git.kernel.org/stable/c/e9b62996ba537774f68fecfd7eecb5aec1713952> (patch)
- <https://git.kernel.org/stable/c/ae92e334544263a02d9f99e18385e718c44392c9> (patch)
- <https://git.kernel.org/stable/c/7f95f4792c0dc767fcb8e405391e779ab419d55a> (patch)
- <https://git.kernel.org/stable/c/6c6b989b4ebf22b086fdfcac2163b5cb55e34d8f> (patch)
- <https://git.kernel.org/stable/c/baa0210fb6a9dc3882509a9411b6d284d88fe30e> (patch)

## Sources

- CVE List: [CVE-2026-63908](https://www.cve.org/CVERecord?id=CVE-2026-63908), CVE Terms of Use, modified 2026-07-19
- NVD: [CVE-2026-63908](https://nvd.nist.gov/vuln/detail/CVE-2026-63908), Public domain, modified 2026-10-30

---

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