Linux kernel: HID: ft260: fix stack-use-after-return write in I2C read race
Overview
In the Linux kernel, the following vulnerability has been resolved: HID: ft260: fix stack-use-after-return write in I2C read race ft260_i2c_read() points dev->read_buf at a caller-supplied buffer (often an on-stack variable), arms a completion and waits up to five seconds for the device to return the data. The HID input callback ft260_raw_event() runs in the input/IRQ path, independent of the dev->lock mutex held by the read path, and copies the device-supplied payload into dev->read_buf after a plain NULL check. These two paths share read_buf, read_idx and read_len with no serialization. If the device delays its response until the read times out, ft260_i2c_read() resets the controller, clears read_buf and returns, unwinding the stack frame the buffer lived in. A response that arrives at that moment lets ft260_raw_event() pass the NULL check and then memcpy() the device-controlled payload into the now-freed stack location, a bounded but attacker-influenced stack-use-after-return write triggerable by malicious or malfunctioning hardware. Add a dedicated spinlock that serializes every access to read_buf, read_idx and read_len. ft260_raw_event() now holds it across the NULL check, the memcpy and the index update, while the read path takes it when arming and when clearing the buffer, so the teardown can no longer slip between the check and the copy.
- Published
- 9/4/2026
- Last modified
- 10/19/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ 6a82582d9fa438045191074856f47165334f2777, < 2b907001e8a83cdb71e899fd3d77ab51e2c03f10 | Verify advisory | Source |
Linux Linux | ≥ 6a82582d9fa438045191074856f47165334f2777, < 90e9298f2e4336a0e1ca7eeb173403df78056164 | Verify advisory | Source |
Linux Linux | ≥ 6a82582d9fa438045191074856f47165334f2777, < 460514d46e8892189fc933a1b4433811cfa5c309 | Verify advisory | Source |
Linux Linux | ≥ 6a82582d9fa438045191074856f47165334f2777, < 5aa5a1b7cc4b4bec5497ad9ef113fdfe37b232f3 | Verify advisory | Source |
Linux Linux | ≥ 6a82582d9fa438045191074856f47165334f2777, < a8e1f970f9040294cfd9100c681c32af6c2aeec0 | Verify advisory | Source |
Linux Linux | ≥ 6a82582d9fa438045191074856f47165334f2777, < d7ffbdc076675c84128d5b904e4d5167fe9f3a7f | Verify advisory | Source |
Linux Linux | ≥ 6a82582d9fa438045191074856f47165334f2777, < 77832d8f1c81d9f84b6b54807fb278586001d754 | Verify advisory | Source |
Linux Linux | ≥ 6a82582d9fa438045191074856f47165334f2777, < bf3e39df3a397fd82967a31d17c4e02c7feab221 | Verify advisory | Source |
Linux Linux | 5.13 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.