{"api_version":"1","generated_at":"2026-05-28T05:50:27+00:00","cve":"CVE-2026-46097","urls":{"html":"https://cve.report/CVE-2026-46097","api":"https://cve.report/api/cve/CVE-2026-46097.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46097","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46097"},"summary":{"title":"Input: edt-ft5x06 - fix use-after-free in debugfs teardown","description":"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->raw_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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-27 14:17:31","updated_at":"2026-05-27 14:48:03"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9f6c5e7b747d40e1c65cbfcb975857d25154c075","name":"https://git.kernel.org/stable/c/9f6c5e7b747d40e1c65cbfcb975857d25154c075","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a516d43886623e3cca5fa3446bed8fc7c7982be2","name":"https://git.kernel.org/stable/c/a516d43886623e3cca5fa3446bed8fc7c7982be2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f5f9e07060519e2287e99019a6de1eb3ebb65c37","name":"https://git.kernel.org/stable/c/f5f9e07060519e2287e99019a6de1eb3ebb65c37","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46097","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46097","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 68743c500c6eafcd0b16dc6067fea5bca0795eef a516d43886623e3cca5fa3446bed8fc7c7982be2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 68743c500c6eafcd0b16dc6067fea5bca0795eef 9f6c5e7b747d40e1c65cbfcb975857d25154c075 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 68743c500c6eafcd0b16dc6067fea5bca0795eef f5f9e07060519e2287e99019a6de1eb3ebb65c37 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.27 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.4 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/input/touchscreen/edt-ft5x06.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"a516d43886623e3cca5fa3446bed8fc7c7982be2","status":"affected","version":"68743c500c6eafcd0b16dc6067fea5bca0795eef","versionType":"git"},{"lessThan":"9f6c5e7b747d40e1c65cbfcb975857d25154c075","status":"affected","version":"68743c500c6eafcd0b16dc6067fea5bca0795eef","versionType":"git"},{"lessThan":"f5f9e07060519e2287e99019a6de1eb3ebb65c37","status":"affected","version":"68743c500c6eafcd0b16dc6067fea5bca0795eef","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/input/touchscreen/edt-ft5x06.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.17"},{"lessThan":"6.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.27","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.27","versionStartIncluding":"6.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.4","versionStartIncluding":"6.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1-rc1","versionStartIncluding":"6.17","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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->raw_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."}],"providerMetadata":{"dateUpdated":"2026-05-27T12:58:59.100Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/a516d43886623e3cca5fa3446bed8fc7c7982be2"},{"url":"https://git.kernel.org/stable/c/9f6c5e7b747d40e1c65cbfcb975857d25154c075"},{"url":"https://git.kernel.org/stable/c/f5f9e07060519e2287e99019a6de1eb3ebb65c37"}],"title":"Input: edt-ft5x06 - fix use-after-free in debugfs teardown","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-46097","datePublished":"2026-05-27T12:58:59.100Z","dateReserved":"2026-05-13T15:03:33.097Z","dateUpdated":"2026-05-27T12:58:59.100Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-27 14:17:31","lastModifiedDate":"2026-05-27 14:48:03","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"46097","Ordinal":"1","Title":"Input: edt-ft5x06 - fix use-after-free in debugfs teardown","CVE":"CVE-2026-46097","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"46097","Ordinal":"1","NoteData":"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->raw_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.","Type":"Description","Title":"Input: edt-ft5x06 - fix use-after-free in debugfs teardown"}]}}}