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 A8DA74EE85E for ; Wed, 16 Sep 2026 10:42:15 +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=1789555341; cv=none; b=d2Fh+c6dk36AbE9Oe1NH3YirUopDY0kWIye/hD/VyqyPA0IcR8MO8ZueRawhUy7uLdQRgKPfx6GHp8+2sSlPBzRxpDq9f4ss1dpYIx8WzHs5rBNGVvBQ8sFFXb665F9rWTYGLIlOoUmrTASA3JTzjLWl+MpGzjPlVdcfYaOOtjA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555341; c=relaxed/simple; bh=AeImkRUybwOpQIIpnTxvRTSh1jxCi4q4Y2siGyE+Z3k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Lgzb9313PHLtsw3neEswLJXyn45EtT0FoHy1CiZ9lUXJ1DHXlvY1aRXdZqrK5HXHkdcBqm2fE710UyIc8eFPZsW55Iv+YNukgB7Ihc3547nqK/rx3DrCdI/zjqyYdrfE2ck/U7CoPaOofFgzGq8P5//iT7J92gy7QwHLlNUj+0w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FJF4FFsj; 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="FJF4FFsj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B30EA1F0089A; Wed, 16 Sep 2026 10:42:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555332; bh=614aMhMEWauvRJEpkAc92TNNm4p3F0XEonpxb9QvLtI=; h=From:To:Cc:Subject:Date:Reply-To; b=FJF4FFsj28XeMmafuojZr6WFVYVYkmGMdXlTiQyje/PGGWMBflllrFf4fiFfe9JDS zB8RZUF2P0Sndpu+sPmsBzLKSepsPZ8W8/82CV6DbncQMbU0CZ0XnDxHAJefSo5SCA Ap6DGQv//24YMT7tIP6w+orJkLN3asltskJ15wTY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89983: i2c: core: fix debugfs UAF on adapter removal Date: Wed, 16 Sep 2026 11:31:53 +0100 Message-ID: <2026091656-CVE-2026-89983-c82c@gregkh> X-Mailer: git-send-email 2.55.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=3854; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xhcA/8F4DmG9WHP8ly50BHa3A/2P+UkRm8p7DgRKEUg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8pckTvscddKjJ+R3wRlOxi27tZN3rHh2anuizcmHP LExluv3dsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBENtQyzPfvMLznclTVaEn9 6TSzh9F7hY6Y6jPMT1QwcpWr6zujEPrRt/drAPNCbWMfAA== 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: i2c: core: fix debugfs UAF on adapter removal i2c_del_adapter() frees the adapter's debugfs directory before it unregisters the adapter device, but the new_device sysfs attribute stays writable until device_del(). A write racing with removal still reaches i2c_device_probe(), which passes the freed adap->debugfs to debugfs_create_dir() as the new client's parent: BUG: KASAN: slab-use-after-free in lookup_noperm_common+0x407/0x430 Read of size 4 at addr ffff88803ef87810 by task syz.0.61/6090 lookup_noperm_common+0x407/0x430 simple_start_creating+0x9c/0x110 debugfs_start_creating+0xdb/0x1a0 debugfs_create_dir+0x24/0x350 i2c_device_probe+0x814/0xbf0 It's technically possible to create a client after i2c_deregister_clients has run. That client will never be unregistered and make wait_for_completion hang. Close the window by removing the new_device attribute at the start of i2c_del_adapter(). device_remove_file() will drain any clients left. The Linux kernel CVE team has assigned CVE-2026-89983 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15.168 with commit 0e8926abfd7aee220e44be5566affd7a8580b50e and fixed in 5.15.221 with commit dc33a9762538b3250ed6b5644a4d44c748be33a6 Issue introduced in 6.1.113 with commit e2a268b0f512fb18ae5961b1fdfaf610ed6bd661 and fixed in 6.1.188 with commit 1f1bcd4eca6caa3e4258d9a31925112539406eb6 Issue introduced in 6.6.55 with commit 4a2be5a72865bdd219b2d8c327b9fa03e87a4a9e and fixed in 6.6.157 with commit f9094ace03e0a532cc6505d2e97b61ae738da4ed Issue introduced in 6.8 with commit 73febd775bdbdb98c81255ff85773ac410ded5c4 and fixed in 6.12.110 with commit 643fb872aa04342d27dbef52b2b3cf3fe71b2c7b Issue introduced in 6.8 with commit 73febd775bdbdb98c81255ff85773ac410ded5c4 and fixed in 6.18.51 with commit 112b3d48084c820bbccf41d9783fd122e3ac4cb0 Issue introduced in 6.8 with commit 73febd775bdbdb98c81255ff85773ac410ded5c4 and fixed in 7.2.5 with commit 552836be2d95c688eede6371f85532abe1a71232 Issue introduced in 6.8 with commit 73febd775bdbdb98c81255ff85773ac410ded5c4 and fixed in 7.3-rc1 with commit b15b548d52b43ba8ac4652bc2c7244a8dd1e9622 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-89983 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/i2c/i2c-core-base.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/dc33a9762538b3250ed6b5644a4d44c748be33a6 https://git.kernel.org/stable/c/1f1bcd4eca6caa3e4258d9a31925112539406eb6 https://git.kernel.org/stable/c/f9094ace03e0a532cc6505d2e97b61ae738da4ed https://git.kernel.org/stable/c/643fb872aa04342d27dbef52b2b3cf3fe71b2c7b https://git.kernel.org/stable/c/112b3d48084c820bbccf41d9783fd122e3ac4cb0 https://git.kernel.org/stable/c/552836be2d95c688eede6371f85532abe1a71232 https://git.kernel.org/stable/c/b15b548d52b43ba8ac4652bc2c7244a8dd1e9622