Input: atmel_mxt_ts - fix boundary check in mxt_prepare_cfg_mem (Linux Linux)

CVE-2026-63908
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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

Weaknesses (CWE)

  • CWE-835 — Loop with Unreachable Exit Condition

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 50a77c658b80e7e3303e3bcec195b30e2b62d513 < 862a1a32b5190241fce7a7d20229539a3926f31e ; affected 50a77c658b80e7e3303e3bcec195b30e2b62d513 < 5c3681c3abc35cfac6b702251382312c60d96bc2 ; affected 50a77c658b80e7e3303e3bcec195b30e2b62d513 < 1017e1c6c6c49cccbcda9bbcfa49e50b0b6dad39 ; affected 50a77c658b80e7e3303e3bcec195b30e2b62d513 < e9b62996ba537774f68fecfd7eecb5aec1713952 ; affected 50a77c658b80e7e3303e3bcec195b30e2b62d513 < ae92e334544263a02d9f99e18385e718c44392c9 ; affected 50a77c658b80e7e3303e3bcec195b30e2b62d513 < 7f95f4792c0dc767fcb8e405391e779ab419d55a
Linux · Linuxaffected 3.17 ; unaffected 0 < 3.17 ; unaffected 5.10.259 ≤ 5.10.* ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD