Skip to content
VulniPulse
Advisory severityHigh7.0Red Hat Linux

High [CVE-2026-64277] synaptics-rmi4 - bound the F3A keymap to the GPIO count

This high-severity Red Hat Linux advisory covers CVE-2026-64277 affecting Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2026-64277 Source published Source updated

VulniPulse record published Record updated

Affected products & platforms
Red Hat LinuxLinux Kernel
Open source advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

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.

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. The `rmi_f3a_map_gpios()` function incorrectly allocates memory for the `gpio_key_map`, making it smaller than required.

Affected versions

No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.

Official advisory · high-confidence parse· fetched 13 days ago·verify at source

Fixed versions
  • kernel-0:6.12.0-211.50.1.el10_2
  • kernel-rt-0:4.18.0-553.158.1.rt7.499.el8_10
  • kernel-0:4.18.0-553.158.1.el8_10
  • kernel-0:5.14.0-687.42.1.el9_8
  • RHSA-2026:61887
  • RHSA-2026:59737
  • RHSA-2026:59821
  • RHSA-2026:59723

Official advisory · high-confidence parse· fetched 13 days ago·verify at source

Mitigation

Upgrade to a fixed release: kernel-0:6.12.0-211.50.1.el10_2, kernel-rt-0:4.18.0-553.158.1.rt7.499.el8_10, kernel-0:4.18.0-553.158.1.el8_10, kernel-0:5.14.0-687.42.1.el9_8, RHSA-2026:61887, RHSA-2026:59737. That is the remediation for this advisory.

The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.

Official advisory · high-confidence parse· fetched 13 days ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.