CVE-2026-80569

Input: synaptics-rmi4 - bound the F54 report size to the allocated buffer

State
Published
Severity
7.8 High
Published
Aug 26, 2026
Updated
Aug 27, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c762cc68b6a12eedebefc156ea4838e54804e2eb to before 6b3bdd44d4cd7d5e35de1d0f06d4930f3cecd403Affected
  • c762cc68b6a12eedebefc156ea4838e54804e2eb to before b2f596f00d27703ce09167201ba57f55be8d2f9aAffected
  • c762cc68b6a12eedebefc156ea4838e54804e2eb to before b3932101c9c457148038392bc977f9b31e125a86Affected
  • c762cc68b6a12eedebefc156ea4838e54804e2eb to before 12be3c6ca9589afd6ade41a59c761866e526634dAffected
  • c762cc68b6a12eedebefc156ea4838e54804e2eb to before 42eaf0e6f79c487f419737314cf0760f7331d368Affected
  • c762cc68b6a12eedebefc156ea4838e54804e2eb to before 6b06aab79ff166d5781ce792d91acc2e58b1770bAffected
  • c762cc68b6a12eedebefc156ea4838e54804e2eb to before b7b9a8b1c303b62371698e396654d6724c79cb74Affected
  • c762cc68b6a12eedebefc156ea4838e54804e2eb to before 49c5adc2b7d6e43c5cf033e1c86fdb9c16ababb1Affected
LinuxLinux
  • 4.10Affected
  • before 4.10Not affected
  • 5.10.266 through 5.10.*Not affected
  • 5.15.217 through 5.15.*Not affected
  • 6.1.184 through 6.1.*Not affected
  • 6.6.153 through 6.6.*Not affected
  • 6.12.105 through 6.12.*Not affected
  • 6.18.46 through 6.18.*Not affected
  • 7.1.10 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.