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 DB3363DC4B3 for ; Thu, 6 Aug 2026 07:14:11 +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=1786000453; cv=none; b=tozHH41RysuMkX+uI0BZ2rr68QWH6LlMuHEJdNyNEoNJp0tQ4GO28/XBBIyJj54jMe43t2jph+l/jdgPH+msbSUf9BHonQHPwIdOSMK0G3qWg2raC7+CpqIOgqYYKTT+unUaYYyDwN/ec4jPU0eskCQPHwmF81TBRGpqdDCb6S0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786000453; c=relaxed/simple; bh=btDzpeOzSeA5WZ7klkcLNqY/RqkW44YZiBP4W0qk/vM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Q+Da3CAnEPi6wbquM+NjZ86cSbLLu0klJBn6kF2KEM59w7Yu5PzUmiIp7grC5STi0S0d6cM+qRDwBIz5Ju+TXeko+NOHPTuV2fSEo71Cz6TklH4uV/OcYJTViYGJue8Y6VYdJvMorpUekxrIkqaeXxo9OE66RXvKFMxBDu6IaTc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IMLAkk8/; 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="IMLAkk8/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E45AD1F000E9; Thu, 6 Aug 2026 07:14:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786000451; bh=fdxgaXxHzffBIta1JqccxWKQKxDKN1+upytkFJW6HsU=; h=From:To:Cc:Subject:Date:Reply-To; b=IMLAkk8/c8Ogpf4CCoOWaT+n29x4Ndae1iYAA7yMjExLHbz01o0sB2nYhNC1WpWFA xq6d4ZHwB0xZyR0jbrZaczxZp9bhUC/lxrL2QxyPqHxvbTiALMxYFQvaEbM+EP9cBe kIi0jRECVXYBFnCZCeXVooNxAPUD1B3/vTNme5RY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64589: i2c: core: fix NULL-deref on adapter registration failure Date: Thu, 6 Aug 2026 09:13:52 +0200 Message-ID: <2026080650-CVE-2026-64589-be26@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=2499; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SrpFQk8clJeIZQrSqWpxqq5cLI/ocmw0ak/46cEaOBs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFklJnoWScs+fXeuqQyquMX+Zf00poLeaQtfRYVnzLind ayJZ31dRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkmQfD/FzFO3UhzI92uvXM LF9xyV7g7tmpHQzzVA+eaHV1eZF3tfGJ0NVttZPCI57ZAwA= 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 NULL-deref on adapter registration failure If adapter registration ever fails the release callback would trigger a NULL-pointer dereference as the completion struct has not been initialised. Note that before the offending commit this would instead have resulted in a minor memory leak of the adapter name. The Linux kernel CVE team has assigned CVE-2026-64589 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.11 with commit e19f31169f85c712c9fca35bfd28ceb093a9f574 and fixed in 6.12.96 with commit 2ce0a74bfa3acdfcdb00cf02f181f2754b451f42 Issue introduced in 6.13 with commit 3f8c4f5e9a57868fa107016c81165686d23325f2 and fixed in 6.18.39 with commit 3351c5e77749a0c8a1e252b95420c143ebcf07ac Issue introduced in 6.13 with commit 3f8c4f5e9a57868fa107016c81165686d23325f2 and fixed in 7.1.4 with commit 034e307428119b67f5f18a35e4f4e7d15a2b9774 Issue introduced in 6.13 with commit 3f8c4f5e9a57868fa107016c81165686d23325f2 and fixed in 7.2-rc1 with commit 2295d2bb101faa663fbc45fadbb3fec45f107441 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-64589 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/2ce0a74bfa3acdfcdb00cf02f181f2754b451f42 https://git.kernel.org/stable/c/3351c5e77749a0c8a1e252b95420c143ebcf07ac https://git.kernel.org/stable/c/034e307428119b67f5f18a35e4f4e7d15a2b9774 https://git.kernel.org/stable/c/2295d2bb101faa663fbc45fadbb3fec45f107441