CVE-2026-46097 PUBLISHED

Input: edt-ft5x06 - fix use-after-free in debugfs teardown

Assigner: Linux
Reserved: 13.05.2026 Published: 27.05.2026 Updated: 27.05.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 68743c500c6eafcd0b16dc6067fea5bca0795eef to a516d43886623e3cca5fa3446bed8fc7c7982be2 (excl.)
  • affected from 68743c500c6eafcd0b16dc6067fea5bca0795eef to 9f6c5e7b747d40e1c65cbfcb975857d25154c075 (excl.)
  • affected from 68743c500c6eafcd0b16dc6067fea5bca0795eef to f5f9e07060519e2287e99019a6de1eb3ebb65c37 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.17 is affected
  • unaffected from 0 to 6.17 (excl.)
  • unaffected from 6.18.27 to 6.18.* (incl.)
  • unaffected from 7.0.4 to 7.0.* (incl.)
  • unaffected from 7.1-rc1 to * (incl.)

References