# CVE-2026-64277: Input: synaptics-rmi4 - bound the F3A keymap to the GPIO count

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-125, CWE-787
- **Published:** 2026-07-25T08:49:21.936Z
- **Modified:** 2026-10-24T13:10:00.147Z

## Who should check

- Anyone running Linux \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 502ad7caaa1a445b734c827fa256e5311df67e3d; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 3480e24bc4e178aaa009edb25b6ee12df199e210; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 35ed74d32d8260bdfb14a94caf402bf0866bdeec; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< ba57f430328534501962d60d651e385ffd7af9ca; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 850117b637bcb1dcc14be0cf09ac819a8707b42c; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 8db211aed83733073b0814adaeeab61d4521474e; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 64fb0e1161ccc6b9e48b8df61f07d3c34c01ec42; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 57c10915f2c16c90e0d46ad00876bf39ece40fc2
- Anyone running Linux 5.10

## Description

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

Input: synaptics-rmi4 - bound the F3A keymap to the GPIO count

rmi\_f3a\_initialize() takes the GPIO count from the device query register
(f3a-\>gpio\_count = buf & RMI\_F3A\_GPIO\_COUNT, range 0..127).
rmi\_f3a\_map\_gpios() then allocates gpio\_key\_map with
min(gpio\_count, TRACKSTICK\_RANGE\_END) == at most 6 entries, but
rmi\_f3a\_attention() iterates the full gpio\_count and dereferences
gpio\_key\_map\[i\], and input-\>keycodemax is set to the full gpio\_count
while input-\>keycode points at the 6-entry allocation.

A device that reports gpio\_count \> 6 therefore causes an out-of-bounds
read of gpio\_key\_map\[\] on every attention interrupt, and out-of-bounds
accesses through the input core's default keymap ioctls: EVIOCGKEYCODE
reads past the buffer (leaking adjacent slab memory to user space) and
EVIOCSKEYCODE writes a caller-controlled value past it, for any process
able to open the evdev node, since input\_default\_getkeycode() and
input\_default\_setkeycode() only bound the index against keycodemax.

Size the keymap for the full gpio\_count. The mapping loop is unchanged:
it still assigns only the first min(gpio\_count, TRACKSTICK\_RANGE\_END)
entries; the remaining slots stay KEY\_RESERVED (devm\_kcalloc zero-fills)
and are skipped when reporting.

## Affected and fixed versions

- Linux: \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 502ad7caaa1a445b734c827fa256e5311df67e3d; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 3480e24bc4e178aaa009edb25b6ee12df199e210; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 35ed74d32d8260bdfb14a94caf402bf0866bdeec; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< ba57f430328534501962d60d651e385ffd7af9ca; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 850117b637bcb1dcc14be0cf09ac819a8707b42c; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 8db211aed83733073b0814adaeeab61d4521474e; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 64fb0e1161ccc6b9e48b8df61f07d3c34c01ec42; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 57c10915f2c16c90e0d46ad00876bf39ece40fc2 (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- Upgrade Linux to 57c10915f2c16c90e0d46ad00876bf39ece40fc2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64277. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64277.md
Affected: Linux >= 9e4c596bfd004f447a652205163234dfd4aafa69, < 502ad7caaa1a445b734c827fa256e5311df67e3d; >= 9e4c596bfd004f447a652205163234dfd4aafa69, < 3480e24bc4e178aaa009edb25b6ee12df199e210; >= 9e4c596bfd004f447a652205163234dfd4aafa69, < 35ed74d32d8260bdfb14a94caf402bf0866bdeec; >= 9e4c596bfd004f447a65220…
Fixed in: Linux 502ad7caaa1a445b734c827fa256e5311df67e3d, Linux 3480e24bc4e178aaa009edb25b6ee12df199e210, Linux 35ed74d32d8260bdfb14a94caf402bf0866bdeec, Linux 850117b637bcb1dcc14be0cf09ac819a8707b42c, Linux 8db211aed83733073b0814adaeeab61d4521474e, Linux 64fb0e1161ccc6b9e48b8df61f07d3c34c01ec42, Linux 57c10…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64277 being exploited?

There is no confirmed exploitation: CVE-2026-64277 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64277?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64277?

Linux \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 502ad7caaa1a445b734c827fa256e5311df67e3d; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 3480e24bc4e178aaa009edb25b6ee12df199e210; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 35ed74d32d8260bdfb14a94caf402bf0866bdeec; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< ba57f430328534501962d60d651e385ffd7af9ca; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 850117b637bcb1dcc14be0cf09ac819a8707b42c; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 8db211aed83733073b0814adaeeab61d4521474e; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 64fb0e1161ccc6b9e48b8df61f07d3c34c01ec42; \>= 9e4c596bfd004f447a652205163234dfd4aafa69, \< 57c10915f2c16c90e0d46ad00876bf39ece40fc2; Linux 5.10.

### Is there a fix for CVE-2026-64277?

Yes. Fixed in Linux 502ad7caaa1a445b734c827fa256e5311df67e3d, Linux 3480e24bc4e178aaa009edb25b6ee12df199e210, Linux 35ed74d32d8260bdfb14a94caf402bf0866bdeec, Linux 850117b637bcb1dcc14be0cf09ac819a8707b42c, Linux 8db211aed83733073b0814adaeeab61d4521474e, Linux 64fb0e1161ccc6b9e48b8df61f07d3c34c01ec42, Linux 57c10915f2c16c90e0d46ad00876bf39ece40fc2. Upgrade Linux to 57c10915f2c16c90e0d46ad00876bf39ece40fc2 or later.

### How do I check if I'm affected by CVE-2026-64277?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/502ad7caaa1a445b734c827fa256e5311df67e3d>
- patch: <https://git.kernel.org/stable/c/3480e24bc4e178aaa009edb25b6ee12df199e210>
- patch: <https://git.kernel.org/stable/c/35ed74d32d8260bdfb14a94caf402bf0866bdeec>
- patch: <https://git.kernel.org/stable/c/ba57f430328534501962d60d651e385ffd7af9ca>
- patch: <https://git.kernel.org/stable/c/850117b637bcb1dcc14be0cf09ac819a8707b42c>
- patch: <https://git.kernel.org/stable/c/8db211aed83733073b0814adaeeab61d4521474e>
- patch: <https://git.kernel.org/stable/c/64fb0e1161ccc6b9e48b8df61f07d3c34c01ec42>
- patch: <https://git.kernel.org/stable/c/57c10915f2c16c90e0d46ad00876bf39ece40fc2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64277>

HTML: <https://flawdb.com/CVE-2026-64277> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64277>
