{"id":"CVE-2026-46097","summary":"Input: edt-ft5x06 - fix use-after-free in debugfs teardown","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: edt-ft5x06 - fix use-after-free in debugfs teardown\n\nThe commit 68743c500c6e (\"Input: edt-ft5x06 - use per-client debugfs\ndirectory\") removed the manual debugfs teardown, relying on the I2C core\nto handle it. However, this creates a window where debugfs files are\nstill accessible after edt_ft5x06_ts_teardown_debugfs() frees\ntsdata-\u003eraw_buffer.\n\nTo prevent a use-after-free, protect the freeing of raw_buffer with the\ndevice mutex and set raw_buffer to NULL. The debugfs read function\nalready checks if raw_buffer is NULL under the same mutex, so this\nsafely avoids the use-after-free.","modified":"2026-06-27T11:54:49.219377039Z","published":"2026-05-27T12:58:59.100Z","related":["openSUSE-SU-2026:10954-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46097.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/9f6c5e7b747d40e1c65cbfcb975857d25154c075"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a516d43886623e3cca5fa3446bed8fc7c7982be2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f5f9e07060519e2287e99019a6de1eb3ebb65c37"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46097.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46097"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"68743c500c6eafcd0b16dc6067fea5bca0795eef"},{"fixed":"a516d43886623e3cca5fa3446bed8fc7c7982be2"},{"fixed":"9f6c5e7b747d40e1c65cbfcb975857d25154c075"},{"fixed":"f5f9e07060519e2287e99019a6de1eb3ebb65c37"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46097.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.18.27"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46097.json"}}],"schema_version":"1.7.5"}