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 7FF5435A933 for ; Sat, 15 Aug 2026 06:13:13 +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=1786774394; cv=none; b=q/NDfyaggqBr+PG3kY8fuDOwfLwpX2Do/vb+hSBBHZ/qBZdklI9ACsSmXPK23gkN7b93MBaB6xT6rJNTlMJVwZCmOcZqFfNZm4mViNu9DfEpNBWyX7o52NRJm9/i+LQEwpUAHiOaSKHOVMZLdcxWvMApzYUj4b6RjwIlODOZKtQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774394; c=relaxed/simple; bh=VdEDEa8gzxCqq6xf5mZf+iI/93oXzeZvZ99DMxyTqVM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qenq0KyuNWbH2aD3wZCWMcQBybNunWA168qgr9z+orudt4nQEzZeq1ZQ28tU4Hl2fwicaxFFMSldWkeVrSDEbqsVwQVHSluUsPiXlkDn84yHBkPyFYChU2czRo2m4K0d5nVnrgtmCOs58mq8AUd5YDuXgm64Rc/qE6fGDbo1BLw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SAG3+bVL; 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="SAG3+bVL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7CEE1F000E9; Sat, 15 Aug 2026 06:13:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774393; bh=COodceSkAcHW7o70ioK70JOWspEUmwHvw5iywpmlNcE=; h=From:To:Cc:Subject:Date:Reply-To; b=SAG3+bVLUsOE4RpQ5xTHoj4JIpD2dyaQvgJpu55KmUAPndJLZpoPI4mXkeFM1fR4y TdkM0Nlw7rKwMwB/OfuTuoWxj487ypvmFRqw+knGQxjRtNFX2c0aQxJ/cwoj9OT6qd zrVhUjaP9sDEuNEUc0Zw8ZXC7gThq88U8z64I5w0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72140: i2c: mlxbf: Fix use-after-free in mlxbf_i2c_init_resource() Date: Sat, 15 Aug 2026 15:03:39 +0900 Message-ID: <2026081532-CVE-2026-72140-15ff@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=3385; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=V8ckV3Zrx96oU4QdMsgTsyW7uP4poWxTvvt6VuTUA9k=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDHuSM3xripY6T+DxnvUzVq6mZ9XVydHFTef+76nOs XRKvHK4I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZicophfnirL9d/N6nnZqZB E/4f/jzrfGLza4YFRwXFdWKmVJ8ukL881+aHi+rDlr8uAA== 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: mlxbf: Fix use-after-free in mlxbf_i2c_init_resource() If devm_platform_get_and_ioremap_resource() returns an error, mlxbf_i2c_init_resource() frees tmp_res before reading tmp_res->io to get the error code. This results in a use-after-free. Save the error code before freeing tmp_res. The Linux kernel CVE team has assigned CVE-2026-72140 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit b5b5b32081cd206baa6e58cca7f112d9723785d6 and fixed in 5.10.261 with commit 6a108c9f5a81bb7b29dbb1398be0089655b6bfd2 Issue introduced in 5.10 with commit b5b5b32081cd206baa6e58cca7f112d9723785d6 and fixed in 5.15.212 with commit c4d9b6a0c9645366d9e4af8a6ac8347bd4c841aa Issue introduced in 5.10 with commit b5b5b32081cd206baa6e58cca7f112d9723785d6 and fixed in 6.1.178 with commit b398cbbbb9dd76210682a8c9aabd34c5168800b9 Issue introduced in 5.10 with commit b5b5b32081cd206baa6e58cca7f112d9723785d6 and fixed in 6.6.145 with commit 5290a52533e09c38374963f4bb0b35121fe555c7 Issue introduced in 5.10 with commit b5b5b32081cd206baa6e58cca7f112d9723785d6 and fixed in 6.12.97 with commit ce960a1b2caa4ad08291f28d8bcf17ad5a864e54 Issue introduced in 5.10 with commit b5b5b32081cd206baa6e58cca7f112d9723785d6 and fixed in 6.18.40 with commit e6a395a71f4652261d09b572a03c96052662a056 Issue introduced in 5.10 with commit b5b5b32081cd206baa6e58cca7f112d9723785d6 and fixed in 7.1.5 with commit fb267770bf822064f510c9b46743f533d8fa8a5f Issue introduced in 5.10 with commit b5b5b32081cd206baa6e58cca7f112d9723785d6 and fixed in 7.2-rc4 with commit 71356737a7a55c76fee847563e3d33f8e6dc6b6d 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-72140 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/busses/i2c-mlxbf.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/6a108c9f5a81bb7b29dbb1398be0089655b6bfd2 https://git.kernel.org/stable/c/c4d9b6a0c9645366d9e4af8a6ac8347bd4c841aa https://git.kernel.org/stable/c/b398cbbbb9dd76210682a8c9aabd34c5168800b9 https://git.kernel.org/stable/c/5290a52533e09c38374963f4bb0b35121fe555c7 https://git.kernel.org/stable/c/ce960a1b2caa4ad08291f28d8bcf17ad5a864e54 https://git.kernel.org/stable/c/e6a395a71f4652261d09b572a03c96052662a056 https://git.kernel.org/stable/c/fb267770bf822064f510c9b46743f533d8fa8a5f https://git.kernel.org/stable/c/71356737a7a55c76fee847563e3d33f8e6dc6b6d