Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-63908

Input: atmel_mxt_ts - fix boundary check in mxt_prepare_cfg_mem

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to < 862a1a32b5190241fce7a7d20229539a3926f31eaffected
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to < 5c3681c3abc35cfac6b702251382312c60d96bc2affected
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to < 1017e1c6c6c49cccbcda9bbcfa49e50b0b6dad39affected
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to < e9b62996ba537774f68fecfd7eecb5aec1713952affected
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to < ae92e334544263a02d9f99e18385e718c44392c9affected
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to < 7f95f4792c0dc767fcb8e405391e779ab419d55aaffected
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to < 6c6b989b4ebf22b086fdfcac2163b5cb55e34d8faffected
  • 50a77c658b80e7e3303e3bcec195b30e2b62d513 to < baa0210fb6a9dc3882509a9411b6d284d88fe30eaffected

Linux Linux

Default version status: affected

  • 3.17affected
  • 0 to < 3.17unaffected
  • 5.10.259 to ≤ 5.10.*unaffected
  • 5.15.210 to ≤ 5.15.*unaffected
  • 6.1.176 to ≤ 6.1.*unaffected
  • 6.6.143 to ≤ 6.6.*unaffected
  • 6.12.93 to ≤ 6.12.*unaffected
  • 6.18.35 to ≤ 6.18.*unaffected
  • 7.0.12 to ≤ 7.0.*unaffected
  • 7.1 to ≤ *unaffected

References