CVE-2026-64237: Input: elan_i2c - validate firmware size before use

Greg Kroah-Hartman <[email protected]> Fri, 24 Jul 2026 17:27:44 +0200
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026072440-CVE-2026-64237-3f9f@gregkh>
From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

Input: elan_i2c - validate firmware size before use

Ensure that the firmware file is large enough to contain the expected
number of pages and the signature (which resides at the end of the
firmware blob) before accessing them to prevent potential out-of-bounds
reads.

The Linux kernel CVE team has assigned CVE-2026-64237 to this issue.


Affected and fixed versions
===========================

	Fixed in 5.10.259 with commit 47b52b98edfe34d0249e72f815215ef24311c3a3
	Fixed in 5.15.210 with commit c2c3b33b3c0bf2c9427c0926817ef5ffac50de6f
	Fixed in 6.1.176 with commit 331d49b4e1c9efe4479bbd22922dfcdd8c64be7b
	Fixed in 6.6.143 with commit 48b0aa9c08a3ac8e0c0345b7ca581f552324e460
	Fixed in 6.12.93 with commit 3b37190ad3ded3a15fb1dbfc4f26df520a3e59bb
	Fixed in 6.18.35 with commit bf769358419e00344c1b16fa034d058f563d46a1
	Fixed in 7.0.12 with commit d97baee9590edf303b3eca432e61de9320834fe1
	Fixed in 7.1 with commit 76b0d0baa9ae9c60e726bbe1b6ff0bec2c993634

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-64237
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/input/mouse/elan_i2c_core.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/47b52b98edfe34d0249e72f815215ef24311c3a3
	https://git.kernel.org/stable/c/c2c3b33b3c0bf2c9427c0926817ef5ffac50de6f
	https://git.kernel.org/stable/c/331d49b4e1c9efe4479bbd22922dfcdd8c64be7b
	https://git.kernel.org/stable/c/48b0aa9c08a3ac8e0c0345b7ca581f552324e460
	https://git.kernel.org/stable/c/3b37190ad3ded3a15fb1dbfc4f26df520a3e59bb
	https://git.kernel.org/stable/c/bf769358419e00344c1b16fa034d058f563d46a1
	https://git.kernel.org/stable/c/d97baee9590edf303b3eca432e61de9320834fe1
	https://git.kernel.org/stable/c/76b0d0baa9ae9c60e726bbe1b6ff0bec2c993634