CVE-2026-80574: Input: focaltech - fix array out-of-bounds in focaltech_process_rel_packet

Published Aug 26, 2026
·
Updated

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

Input: focaltech - fix array out-of-bounds in focaltechprocessrelpacket

Make finger2 (and also finger1) unsigned, so that if the finger index in the packet is 0 then subtracting 1 creates an array index which overflows above the existing check for FOCMAXFINGERS, as the existing comment says it should, instead of writing to state->fingers[-1].

Affected Software

1 affected component
Linux Kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In focaltech_process_rel_packet, change finger1 and finger2 variables to unsigned so that when the finger index is 0 (and subtracting 1 would otherwise underflow), it does not overflow and write to state->fingers[-1]; ensure the existing FOC_MAX_FINGERS bounds check is relied upon as described by the comment.

    Linux kernel (focaltech) Make finger1 and finger2 unsigned in focaltech_process_rel_packet = unsigned

Event History

Aug 26, 2026
CVE Published
via MITRE·02:37 PM
Data Sourced
via MITRE·02:37 PM
Description
Data Sourced
via NVD·03:17 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel focaltech input driver are exposed when they process relative touch packets containing a finger index of 0. The provided data does not identify affected kernel versions or device models.

2

What input is required to trigger the out-of-bounds write?

A packet must cause the driver to handle finger1 or finger2 with a finger index of 0. Subtracting 1 then produces an index of -1, which can write to state->fingers[-1].

3

How does the fix prevent the invalid array access?

The fix makes finger1 and finger2 unsigned. When a packet finger index is 0, subtracting 1 overflows to a value above FOC_MAX_FINGERS, allowing the existing bounds check to reject it.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203