# CVE-2026-46097: Input: edt-ft5x06 - fix use-after-free in debugfs teardown

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-02)
- Published: 2026-05-27T12:58:59.100Z
- Modified: 2026-06-25T21:17:34.920Z
- Weaknesses: CWE-416
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 68743c500c6eafcd0b16dc6067fea5bca0795eef before a516d43886623e3cca5fa3446bed8fc7c7982be2; from 68743c500c6eafcd0b16dc6067fea5bca0795eef before 9f6c5e7b747d40e1c65cbfcb975857d25154c075; from 68743c500c6eafcd0b16dc6067fea5bca0795eef before f5f9e07060519e2287e99019a6de1eb3ebb65c37; 6.17 (not affected: before 6.17; from 6.18.27 up to 6.18.*; from 7.0.4 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.17 before 6.18.27; from 6.19 before 7.0.4

## References

- <https://git.kernel.org/stable/c/a516d43886623e3cca5fa3446bed8fc7c7982be2> (patch)
- <https://git.kernel.org/stable/c/9f6c5e7b747d40e1c65cbfcb975857d25154c075> (patch)
- <https://git.kernel.org/stable/c/f5f9e07060519e2287e99019a6de1eb3ebb65c37> (patch)

## Sources

- CVE List: [CVE-2026-46097](https://www.cve.org/CVERecord?id=CVE-2026-46097), CVE Terms of Use, modified 2026-06-14
- NVD: [CVE-2026-46097](https://nvd.nist.gov/vuln/detail/CVE-2026-46097), Public domain, modified 2026-06-25

---

Page: https://cve.day/CVE-2026-46097 · Whole record: https://cve.day/CVE-2026-46097.json · Rebuilt by cve.day 2026-11-25T22:59:22.580Z
