CVE-2026-63908

Input: atmel_mxt_ts - fix boundary check in mxt_prepare_cfg_mem

State
Published
Severity
Not scored
Published
Jul 19, 2026
Updated
Jul 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to before 862a1a32b5190241fce7a7d20229539a3926f31eAffected
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to before 5c3681c3abc35cfac6b702251382312c60d96bc2Affected
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to before 1017e1c6c6c49cccbcda9bbcfa49e50b0b6dad39Affected
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to before e9b62996ba537774f68fecfd7eecb5aec1713952Affected
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to before ae92e334544263a02d9f99e18385e718c44392c9Affected
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to before 7f95f4792c0dc767fcb8e405391e779ab419d55aAffected
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to before 6c6b989b4ebf22b086fdfcac2163b5cb55e34d8fAffected
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to before baa0210fb6a9dc3882509a9411b6d284d88fe30eAffected
LinuxLinux
  • 3.17Affected
  • before 3.17Not affected
  • 5.10.259 through 5.10.*Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.93 through 6.12.*Not affected
  • 6.18.35 through 6.18.*Not affected
  • 7.0.12 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.