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 C1EE43D3337 for ; Mon, 10 Aug 2026 12:10:26 +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=1786363827; cv=none; b=e2SuON2MVidSD3X2MrYW3QFygI/+qzgYT6EuRFnt0NNu4409BFhUo4Zaj9DlhvGIgg6GV5AcvIxzbl+KWYOka2SqhT19HgRStHlZJap94vNS8SxnCfqtHgqQJoRUsLAijynbPw/LeOcomFGNwg9iFko5N2aCp5ADtE0QRUyvyoE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363827; c=relaxed/simple; bh=dOpiXGp3UTYcgGOsXlE5pfTUjEw6dpe/xFDhwgZGgww=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=p6WegqoLNGXKkfU55lpNt+LZvNyNCkTlj7N67OTqDfNBUIkR2+/ua9EaJImwx8GdHrSYbOoxe/uaNr05ac358uEcfXXrn2PPww404pTQ8UelsmnbtnwpSnf2p+vmfS+c0bqEFKF7HtslPmI0GsVzECL+1Dvt90pnIHgEHSkoaSg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nqJvz6H2; 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="nqJvz6H2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 445B11F00A3E; Mon, 10 Aug 2026 12:10:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363826; bh=dQQ9ShMVT0Oc3MRbRAV/mNcm99V201cyN0UY/k1rRH4=; h=From:To:Cc:Subject:Date:Reply-To; b=nqJvz6H24t2/i54N8Ysv4XcvkRc/RO2YZ148jLxdPxBlyPWbspjpesrvfTIA4lYG+ TzefAAKLjV/VOcty0EiKHGDbjDtU+ritwCuvThYeAsvP8IIlZkqrj49T8MXGmJbLOM DKkIqwr+/N60J7YvTToHkiDGkPwuTHN8CLO4J5N0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68314: net: mctp i3c: clean up notifier and buses if driver register fails Date: Mon, 10 Aug 2026 14:00:31 +0200 Message-ID: <2026081032-CVE-2026-68314-39d2@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=2941; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Xr8cmjLAv0YJGGJSKThqhUBhhxTVfA7zZZNu/byFPs0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe9a4yU6UZDD637TMunH60u/HZ/o1Os9jjHhU8PPmO oNTEWK9HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRv0YM8wueTV7WYN9odLOC OcX2VcHVHUufb2NYsD/6uKwGS+biukcvJjBUvpZbUv5wPwA= 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: net: mctp i3c: clean up notifier and buses if driver register fails mctp_i3c_mod_init() registers the I3C bus notifier and then walks the existing buses with i3c_for_each_bus_locked(mctp_i3c_bus_add_new, NULL) before registering the I3C device driver. If i3c_driver_register() fails, the function returns the error directly, leaving the notifier registered and every mctp_i3c_bus object created for the existing buses allocated. The notifier is left pointing into the module that failed to load and the bus list is leaked. Mirror the module exit path on this failure: unregister the notifier and tear down the buses that were added before returning the error. This issue was identified during our ongoing static-analysis research while reviewing kernel code. The Linux kernel CVE team has assigned CVE-2026-68314 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit c8755b29b58ec65be17bcb8c40763d2dcb1f1db5 and fixed in 6.12.101 with commit 49d15cfab247c0f60ce1800bdcd66850beea7b3a Issue introduced in 6.7 with commit c8755b29b58ec65be17bcb8c40763d2dcb1f1db5 and fixed in 6.18.42 with commit a8bd8c109da5a87f0c5db0c23cf550d039fde77c Issue introduced in 6.7 with commit c8755b29b58ec65be17bcb8c40763d2dcb1f1db5 and fixed in 7.1.6 with commit a40e83a34eaa2be64372286040696f04eabcd09f Issue introduced in 6.7 with commit c8755b29b58ec65be17bcb8c40763d2dcb1f1db5 and fixed in 7.2-rc5 with commit 03d1057305ef17ac3f5936ac1580bc9a1a826e14 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-68314 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/net/mctp/mctp-i3c.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/49d15cfab247c0f60ce1800bdcd66850beea7b3a https://git.kernel.org/stable/c/a8bd8c109da5a87f0c5db0c23cf550d039fde77c https://git.kernel.org/stable/c/a40e83a34eaa2be64372286040696f04eabcd09f https://git.kernel.org/stable/c/03d1057305ef17ac3f5936ac1580bc9a1a826e14