CVE-2026-64276

Source
https://cve.org/CVERecord?id=CVE-2026-64276
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64276.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64276
Downstream
Published
2026-07-25T08:49:21.300Z
Modified
2026-07-26T05:17:32.444205154Z
Summary
Input: synaptics-rmi4 - bound the F30 keymap to the GPIO/LED count
Details

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

Input: synaptics-rmi4 - bound the F30 keymap to the GPIO/LED count

rmif30mapgpios() allocates gpioledkeymap with min(gpioledcount, TRACKSTICKRANGEEND) == at most 6 entries, but rmif30attention() iterates the full f30->gpioledcount (device query register, range 0..31) and dereferences gpioledkeymap[i], and input->keycodemax is set to the full gpioledcount while input->keycode points at the 6-entry allocation.

A device that reports gpioled_count > 6 with GPIO support enabled therefore causes an out-of-bounds read on the attention interrupt and out-of-bounds read/write through the EVIOCGKEYCODE/EVIOCSKEYCODE ioctls, which bound the index only against keycodemax. This is the same defect as the F3A handler, which was copied from F30.

Size the keymap for the full gpioledcount; the mapping loop still assigns only the first min(gpioledcount, TRACKSTICKRANGEEND) entries.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64276.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3e64fcbdbd10e46dede502d507dbcc104837cd59
Fixed
8c6d18d61bb6fe0e6edf848413391c590552e8a9
Fixed
d162a1ead7de404d8b41a093c83ed0db6487cded
Fixed
f0be9eba946e9200b43265e0a748d38bd0a56954
Fixed
26c895928d7118436a24f564587cb4aefc40cdd8
Fixed
4e3689c26854356f41fbaa1eafa382e58ac79e00
Fixed
e849c6f51e6877104c765da084e001ec37c8e119
Fixed
bfe622efecd4ff0a792d0ecd1a8dce535a902f50
Fixed
d577e46785d45484b2ab7e7309c49b18764bf56c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64276.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.14.0
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.96
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.39
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64276.json"