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 03444331ECD for ; Sat, 25 Jul 2026 08:51:44 +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=1784969505; cv=none; b=sF0tsw/QP3jpzwWuHeATpTAphwhVWKn2+Bwyi3p1W4RDfsAa8pKj9d++tlBoz5fMG8Hz3qXhIvWMHN/NM6ibLjb0lM0C2MjnUHQobI7SpzLu88Iyr+ucaXDMGb6UFR8XDhlhX3Mg3I7b4b3GbetcAc8rrtNwwGriNNAbUvL8AdY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969505; c=relaxed/simple; bh=XoxpyMLjFg/qanAqBPGqRTFOhgGG/qon68283sj6p1c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dbXVQvFczqajjOERq5rWYaHMbU6q1xYGxKnTu0IUAb/OMgL93PJoiFky34O5TOHc9GcwWkIIq/w0J03reS2Fr1ZXu7Ep+H6QuCNYjU/mIAKZsItfjwMqW1ISSjaPO4Q2i3KOvqfeQorI80fUT0FEXmAttxa73hRP+kdZ+8NT8PE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TIQitFe4; 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="TIQitFe4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 224461F000E9; Sat, 25 Jul 2026 08:51:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969503; bh=XqCEDzYcffVH/KXB+IJwx8aV5n/gZsGYenpXiogEUa4=; h=From:To:Cc:Subject:Date:Reply-To; b=TIQitFe4SUTPDIHjHS4pYpcE+mw6MJHqZPbVIZq2eRzkxd/R1nBunV12WJOISHIqn AFWQeKrOFSN0mHXVhVZ+wul3fDf2rONtXlzq0pM3JwR764rJWH6IpUsfdKqZ2e5kxl 2+VFns1VO/DO55YNwPvNAd6PB1pA3XJiGPS0uYk0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64279: i2c: core: fix adapter deregistration race Date: Sat, 25 Jul 2026 10:48:16 +0200 Message-ID: <2026072501-CVE-2026-64279-0cd1@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=3236; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=61PVT8KsBwjAQzuzjagl0PaSdVQ5/ElEl7bvsbB3MWU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFY5xLpYF+UePpt0+9niz9lSeEKFS/jMziyT5NPY7b WzZK76yI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYiKMuw4NihCTwJwTmZl05I tpicalRdKhaawrBgV8r78q0Xeou2ZuZcklY0aO+Y+YkfAA== 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 adapter deregistration race Adapters can be looked up by their id using i2c_get_adapter() which takes a reference to the embedded struct device. Remove the adapter from the IDR before tearing it down during deregistration (and on registration failure) to make sure its resources are not accessed after having been freed (e.g. the device name). The Linux kernel CVE team has assigned CVE-2026-64279 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.31 with commit 35fc37f8188177e3ba3e7f99a6e3300e490e9181 and fixed in 5.15.212 with commit d39282f552dd6c35b9b84b4af78f1198c24f3373 Issue introduced in 2.6.31 with commit 35fc37f8188177e3ba3e7f99a6e3300e490e9181 and fixed in 6.1.178 with commit 11dfa37bf544cc806f21742ca2fd2d841bd7032e Issue introduced in 2.6.31 with commit 35fc37f8188177e3ba3e7f99a6e3300e490e9181 and fixed in 6.6.145 with commit 9882a9bd74db08e7bae5821a7050627ae92d3380 Issue introduced in 2.6.31 with commit 35fc37f8188177e3ba3e7f99a6e3300e490e9181 and fixed in 6.12.96 with commit bb234487a447a99315add1b46aa57b72e163e1eb Issue introduced in 2.6.31 with commit 35fc37f8188177e3ba3e7f99a6e3300e490e9181 and fixed in 6.18.39 with commit b6d2af6fe9c1f5ec0484536753c979cbd40a8ac3 Issue introduced in 2.6.31 with commit 35fc37f8188177e3ba3e7f99a6e3300e490e9181 and fixed in 7.1.4 with commit 35dbd1f1f603401155cbd3a180bb18e3a3b675b8 Issue introduced in 2.6.31 with commit 35fc37f8188177e3ba3e7f99a6e3300e490e9181 and fixed in 7.2-rc1 with commit b1a58ed9eab146b36f41a55db8f5d7ce9fdedf3f 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-64279 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/d39282f552dd6c35b9b84b4af78f1198c24f3373 https://git.kernel.org/stable/c/11dfa37bf544cc806f21742ca2fd2d841bd7032e https://git.kernel.org/stable/c/9882a9bd74db08e7bae5821a7050627ae92d3380 https://git.kernel.org/stable/c/bb234487a447a99315add1b46aa57b72e163e1eb https://git.kernel.org/stable/c/b6d2af6fe9c1f5ec0484536753c979cbd40a8ac3 https://git.kernel.org/stable/c/35dbd1f1f603401155cbd3a180bb18e3a3b675b8 https://git.kernel.org/stable/c/b1a58ed9eab146b36f41a55db8f5d7ce9fdedf3f