What’s Vulnerable › Vulnerabilities
CVE-2026-46097: Input: edt-ft5x06 - fix use-after-free in debugfs teardown
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-27 · updated 2026-06-25
- Weakness: CWE-416
Description
In the Linux kernel, the following vulnerability has been resolved: Input: edt-ft5x06 - fix use-after-free in debugfs teardown The commit 68743c500c6e ("Input: edt-ft5x06 - use per-client debugfs directory") removed the manual debugfs teardown, relying on the I2C core to handle it. However, this creates a window where debugfs files are still accessible after edt_ft5x06_ts_teardown_debugfs() frees tsdata->raw_buffer. To prevent a use-after-free, protect the freeing of raw_buffer with the device mutex and set raw_buffer to NULL. The debugfs read function already checks if raw_buffer is NULL under the same mutex, so this safely avoids the use-after-free.
Affected products
- Linux kernel: from 6.17 before 6.18.27; from 6.19 before 7.0.4 — fixed in 6.18.27, 7.0.4
How to fix
Upgrade to a fixed version: Linux kernel 6.18.27, 7.0.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/9f6c5e7b747d40e1c65cbfcb975857d25154c075
- https://git.kernel.org/stable/c/a516d43886623e3cca5fa3446bed8fc7c7982be2
- https://git.kernel.org/stable/c/f5f9e07060519e2287e99019a6de1eb3ebb65c37
Get alerted when CVE-2026-46097 or the next vulnerability affects your stack