Cloudanix VulnDB

CVE-2026-64276

High · 7.8

CVSS

7.8

EPSS

0.2%

Published

Jul 25, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A Linux input-device driver bug could let someone with local access crash the machine or potentially gain higher privileges, so affected systems should be updated.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Privilege Gain
Component
OS kernel
Class
Memory Corruption
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

This is a Linux kernel memory-corruption flaw in the Synaptics RMI4 F30 input driver. The driver allocates a keymap for at most six GPIO/LED entries but can later index it using the full device-reported GPIO/LED count, up to 31. A device reporting more than six entries can cause out-of-bounds reads during attention interrupts and out-of-bounds read/write behavior through EVIOCGKEYCODE and EVIOCSKEYCODE input ioctls because the kernel exposes a larger keycodemax than the backing allocation supports. Successful exploitation can disclose kernel memory, corrupt kernel memory, crash the system, or potentially enable local privilege escalation.

Why it matters to the business

The main risk is compromise or instability of Linux endpoints or systems that use the affected Synaptics RMI4 input driver with vulnerable kernel builds. An attacker with local access and permission to interact with affected input devices could potentially elevate privileges or cause outages through kernel crashes. The issue is not currently listed in CISA KEV, is not known to be used in ransomware campaigns, has no known public exploit maturity in the provided data, and has a low EPSS score, so urgency is highest for systems with exposed input-device access, shared workstations, kiosk-like systems, or environments where untrusted users can access local device interfaces.

How an attack unfolds

An attacker first obtains local access to a Linux system that has the vulnerable Synaptics RMI4 F30 driver loaded and an affected RMI4 device path exposed. The attacker identifies an input event device associated with the driver and confirms they can issue input ioctls, typically requiring membership in an input-related group or another low-privileged local access path. If the hardware or emulated device reports a GPIO/LED count greater than six, the kernel may expose a keycodemax based on the larger count while the keymap allocation remains smaller. The attacker then repeatedly uses EVIOCGKEYCODE or EVIOCSKEYCODE with indexes that are accepted by the kernel but fall outside the allocated keymap, or triggers attention interrupts that cause the driver to read beyond the allocation. With enough control and grooming, this can be used to leak kernel memory, corrupt adjacent kernel data, crash the host, or potentially build a local privilege-escalation chain.

How to fix it

Upgrade to a Linux kernel version that includes the Synaptics RMI4 F30 keymap allocation fix, where the keymap is sized for the full device-reported gpioled_count. No exact fixed package versions were provided, so use the relevant distribution or vendor advisory to identify the first patched kernel for each supported release stream. If immediate patching is not possible, reduce exposure by restricting access to /dev/input/event* devices to trusted users only, removing unnecessary users from input-capable groups, disabling or blacklisting the affected Synaptics RMI4 driver where operationally safe, and preventing untrusted local users from attaching or emulating input hardware. Treat mitigations as temporary because this is a kernel memory-safety issue and the reliable fix is a patched kernel.

How to confirm the fix worked

Confirm the running kernel includes the upstream or vendor backport for the Synaptics RMI4 F30 keymap sizing fix. Validate both the installed kernel package and the actively booted kernel, because patched packages do not protect the system until the host is rebooted into the fixed kernel. Check whether the synaptics-rmi4/RMI4 driver is built, loaded, or in use, and whether Synaptics RMI4 input devices are present. Review permissions on /dev/input/event* nodes and confirm untrusted users cannot issue input ioctls against affected devices. Where feasible in a test environment, verify that devices reporting more than six GPIO/LED entries no longer cause out-of-bounds keymap indexing under EVIOCGKEYCODE, EVIOCSKEYCODE, or attention interrupt handling.

Typical attack path

  1. Gain local access to a Linux system running a vulnerable kernel with the Synaptics RMI4 F30 driver enabled.
  2. Identify accessible input event devices associated with Synaptics RMI4 hardware or an emulated/malicious RMI4 device.
  3. Confirm permission to open the relevant /dev/input/event* node and issue input ioctls.
  4. Use a device state that reports a GPIO/LED count greater than six while the driver allocation remains bounded to six entries.
  5. Issue crafted EVIOCGKEYCODE or EVIOCSKEYCODE ioctl calls, or trigger RMI4 attention interrupts, to force out-of-bounds access.
  6. Use the out-of-bounds read/write primitive to leak kernel memory, corrupt kernel structures, crash the system, or attempt privilege escalation.

How to detect it

There are no reliable network indicators for this local kernel driver issue. To assess possible prior exploitation, collect kernel logs, system journal data, crash dumps, audit logs, and endpoint telemetry from systems using Synaptics RMI4 input devices. Look for kernel oops, panic, KASAN, UBSAN, slab corruption, general protection fault, or page fault messages referencing synaptics-rmi4, rmi_f30_attention, rmi_f30_map_gpios, input core keycode handling, or ioctl activity against /dev/input/event* devices. Review auditd or EDR telemetry for unusual processes repeatedly opening input event nodes and issuing EVIOCGKEYCODE or EVIOCSKEYCODE, especially by non-interactive, recently introduced, or low-privileged processes. Investigate unexpected local privilege changes, suspicious setuid file creation, kernel crashes followed by anomalous administrator-level activity, and repeated input-device ioctl failures. Absence of these artifacts does not prove non-exploitation because successful kernel memory corruption may leave minimal logs.

  • synaptics-rmi4
  • rmi_f30_attention
  • rmi_f30_map_gpios
  • EVIOCGKEYCODE
  • EVIOCSKEYCODE
  • /dev/input/event
  • /sys/bus/rmi4/devices/
  • CONFIG_RMI4_F30
  • KASAN
  • slab-out-of-bounds
  • general protection fault
  • kernel BUG
  • Oops:
  • BUG: unable to handle kernel
  • use-after-free
  • kernel panic

What your security team should do

  • Inventory Linux systems running kernels with Synaptics RMI4 input support and prioritize endpoints, laptops, kiosks, shared workstations, and systems where untrusted local users have shell or device access.
  • Apply vendor-patched kernel updates and reboot systems into the fixed kernel; track systems that have installed but not booted the patched kernel.
  • Restrict access to /dev/input/event* devices and audit membership in groups that can interact with input devices, such as input-related groups used by the distribution.
  • If the affected hardware is not required, disable or blacklist the Synaptics RMI4 driver as a temporary mitigation after confirming no operational impact.
  • Monitor for kernel oops, panic, KASAN, slab, or general-protection-fault messages involving synaptics-rmi4, rmi_f30, or input ioctl activity.
  • Because EPSS is low and there is no KEV or known ransomware association in the provided data, prioritize remediation according to local exposure rather than treating it as internet-scale emergency patching.

The record

In the Linux kernel, the following vulnerability has been resolved: Input: synaptics-rmi4 - bound the F30 keymap to the GPIO/LED count rmi_f30_map_gpios() allocates gpioled_key_map with min(gpioled_count, TRACKSTICK_RANGE_END) == at most 6 entries, but rmi_f30_attention() iterates the full f30->gpioled_count (device query register, range 0..31) and dereferences gpioled_key_map[i], and input->keycodemax is set to the full gpioled_count 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 gpioled_count; the mapping loop still assigns only the first min(gpioled_count, TRACKSTICK_RANGE_END) entries.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities