KernelScan.io

HIGH Introduced in 4.10

rmi4 F54Report OOB

CVE-2026-80569

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI6.8MEDIUM

01

In the Linux kernel, the following vulnerability has been resolved: Input: synaptics-rmi4 - bound the F54 report size to the allocated buffer rmi_f54_work() reads a diagnostics report from the device into f54->report_data, sizing the transfer with rmi_f54_get_report_size(): report_size = rmi_f54_get_report_size(f54); ... for (i = 0; i < report_size; i += F54_REPORT_DATA_SIZE) { int size = min(F54_REPORT_DATA_SIZE, report_size - i); ... rmi_read_block(.., f54->report_data + i, size); } report_data is allocated once at probe from F54's own electrode counts (array3_size(f54->num_tx_electrodes, f54->num_rx_electrodes, sizeof(u16))), but rmi_f54_get_report_size() computes the size from drv_data->num_*_electrodes when those are set, i.e. from the F55 function's electrode counts. Both counts come straight from device queries (F54 and F55 each report up to 255 electrodes) and nothing constrains the F55 counts to the F54 ones. A malicious or malfunctioning RMI4 device that reports larger F55 electrode counts than its F54 counts makes report_size exceed the allocation, so the read loop writes past report_data (and the V4L2 dequeue memcpy() then reads past it). On conforming hardware the F55 configured electrodes are a subset of the F54 physical electrodes, so report_size never exceeds the buffer and well-behaved devices are unaffected. Record the allocation size and reject a report that does not fit, mirroring the existing zero-size check.

02

Engine v0.6.0

Risk summary

A malicious or malfunctioning Synaptics RMI4 touch device can exploit a mismatch between reported electrode counts to trigger an out-of-bounds memory write and read in the kernel. This requires physical access to connect the rogue device but can lead to kernel memory corruption, information disclosure, or a system crash. Systems in physically exposed environments or those accepting external touch input hardware are at the highest risk.

Affecteddrivers/input/rmi4/rmi_f54.c (synaptics-rmi4)

Vulnerability analysis

The driver for this touch controller allocates a diagnostics buffer using one set of dimensions reported by the device, but later sizes incoming report transfers using a second set of dimensions that can be larger. A malicious or malfunctioning device can supply mismatched counts, causing the driver to write report data past the end of the allocated buffer; a later memory copy then reads past the same boundary. The fix remembers the actual buffer size and discards any report that would overflow it. The bug can be triggered by any physically connected rogue touch device and requires no software privileges.

03

BranchIntroducedFixed inPatch commit
5.104.105.10.2666b3bdd44d4cd
5.154.105.15.217b2f596f00d27
6.14.106.1.184b3932101c9c4
6.124.106.12.10542eaf0e6f79c
6.184.106.18.466b06aab79ff1
6.64.106.6.15312be3c6ca958
7.14.107.1.10b7b9a8b1c303
mainline4.107.249c5adc2b7d6
cip/5.104.105.10.268-cip776b3bdd44d4cd
cip/5.10-rt4.105.10.268-cip77-rt346b3bdd44d4cd
cip/6.14.106.1.187-cip60b3932101c9c4
cip/6.1-rt4.106.1.189-cip61-rt32b3932101c9c4
cip/6.124.106.12.108-cip3142eaf0e6f79c

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.108-cip31
cip/6.1Fixed in 6.1.187-cip60
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Fixed in 5.10.268-cip77
cip/5.10-rtFixed in 5.10.268-cip77-rt34
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip136)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)