Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 928E93E9C2C for ; Wed, 27 May 2026 13:06:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887163; cv=none; b=axrhVw9wXGdvmNUDzE2DvyRKBZ+POeid2UHSPxvPPoungC0NToUk5hu4uz2UHvdVNGPK1hdE44pHhPA2kttjDaz9h/BL4HzY9XfH8y+avjFNivgq++G7ZpAJTX6Q2mGhP1H95gpzXlIZsz36qBYQaoCp17FWLuYmrKhvIxu2vU0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887163; c=relaxed/simple; bh=wVFMlsTkYkbZLRIn1VclWIlrMc0ghGLbo7PT7JokcI0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HHrzXinfmcaZzNdwkk1XnTxL3OJQVTNffKK+RHObZp2YdLlXs9WEm0FP4usrtTL0Buf9ygtKk3Lg3RXR4MeZWxTiGSkQH0AfxDGdCScwt1MK6pc+u+3JBpbEff+7Es8UXyRicJvq/W8CM3uB+1TsLKiGlr6F+W568Ld6et35mMg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=d93GU38G; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="d93GU38G" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E49291F000E9; Wed, 27 May 2026 13:06:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779887162; bh=iQCMA2Q/A8SMqsAn6sw7YJCoPB0K4eqaxeTOu4AQSKQ=; h=From:To:Cc:Subject:Date:Reply-To; b=d93GU38GZGz4NxQfBnE/D17bN8UjRhsxdhqFTZJkPQA8gPvQBBs06zz3HvgGWQAr7 20zXkOfEuq1Vdq8QHBoH48YL8yyqfQHBMdEqe0h9IoKeeUH1euCMyzdXwEsSktZvoD tJ9LL8QBcAhMvnOg+yg1t4pe+3GamzQ0aS4tYXQQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46097: Input: edt-ft5x06 - fix use-after-free in debugfs teardown Date: Wed, 27 May 2026 15:00:28 +0200 Message-ID: <2026052704-CVE-2026-46097-3294@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2553; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ci+WkwjYcriojuusl+ldGYiXQtQuVmlu2wSPqrY6PlE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir2aoz45iDn8m+GLe3zWeiu9jDvhtO/yr/9/Fo9XNT i2LClIXdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEPj5jmO+5/yXT0ck3Uj6G P+DoFEy+dzmiwYhhwdb0973PTizeLuWps1/2y7NCOz6rVgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-46097 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit 68743c500c6eafcd0b16dc6067fea5bca0795eef and fixed in 6.18.27 with commit a516d43886623e3cca5fa3446bed8fc7c7982be2 Issue introduced in 6.17 with commit 68743c500c6eafcd0b16dc6067fea5bca0795eef and fixed in 7.0.4 with commit 9f6c5e7b747d40e1c65cbfcb975857d25154c075 Issue introduced in 6.17 with commit 68743c500c6eafcd0b16dc6067fea5bca0795eef and fixed in 7.1-rc1 with commit f5f9e07060519e2287e99019a6de1eb3ebb65c37 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-46097 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/input/touchscreen/edt-ft5x06.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/a516d43886623e3cca5fa3446bed8fc7c7982be2 https://git.kernel.org/stable/c/9f6c5e7b747d40e1c65cbfcb975857d25154c075 https://git.kernel.org/stable/c/f5f9e07060519e2287e99019a6de1eb3ebb65c37