Discover the CVE-2018-20787 vulnerability in the ft5x46 touchscreen driver used by custom Linux kernels on Xiaomi perseus-p-oss MIX 3. Learn about the impact, affected systems, exploitation, and mitigation steps.
A vulnerability has been discovered in the ft5x46 touchscreen driver used by custom Linux kernels on the Xiaomi perseus-p-oss MIX 3 device up until 2018-11-26. Attackers can exploit this vulnerability on a rooted device by using a specially crafted application to trigger a device crash through a system call.
Understanding CVE-2018-20787
This CVE involves an integer overflow and OOPS error due to the absence of size argument checks in the tpdbg_write function.
What is CVE-2018-20787?
The ft5x46 touchscreen driver for custom Linux kernels on the Xiaomi perseus-p-oss MIX 3 device through 2018-11-26 has an integer overflow and OOPS because of missing checks of the size argument in tpdbg_write in drivers/input/touchscreen/ft5x46/ft5x46_ts.c. This vulnerability allows attackers to crash the device through a system call.
The Impact of CVE-2018-20787
Technical Details of CVE-2018-20787
This section provides more technical insights into the vulnerability.
Vulnerability Description
The vulnerability arises from an integer overflow and OOPS error due to the absence of size argument checks in the tpdbg_write function located in drivers/input/touchscreen/ft5x46/ft5x46_ts.c.
Affected Systems and Versions
Exploitation Mechanism
Mitigation and Prevention
Protecting systems from CVE-2018-20787 is crucial to maintaining security.
Immediate Steps to Take
Long-Term Security Practices
Patching and Updates