CVE-2026-46097

HIGH

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

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0012
EPSS Percentile 2.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (12)
linux/Kernel 6.17.0 - 6.18.27linux
linux/Kernel 6.19.0 - 7.0.4linux
Linux/Linux < 6.17
Linux/Linux 6.17
Linux/Linux 6.18.27 - 6.18.*
Linux/Linux 68743c500c6eafcd0b16dc6067fea5bca0795eef - 9f6c5e7b747d40e1c65cbfcb975857d25154c075
Linux/Linux 68743c500c6eafcd0b16dc6067fea5bca0795eef - a516d43886623e3cca5fa3446bed8fc7c7982be2
Linux/Linux 68743c500c6eafcd0b16dc6067fea5bca0795eef - f5f9e07060519e2287e99019a6de1eb3ebb65c37
Linux/Linux 7.0.4 - 7.0.*
Linux/Linux 7.1
... and 2 more
Published May 27, 2026
Tracked Since May 27, 2026