From mboxrd@z Thu Jan 1 00:00:00 1970 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 B1CBD29BDAA for ; Wed, 27 May 2026 12:20:38 +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=1779884440; cv=none; b=c8G7LTPS4KHasJZ3+LrIcW1hSVfutW1Sut3KBIqn1FnJ+ihwfUVbXR7StDQNiDv+lch3EgBpgPCP9fcZ9zkzloN9hzUxvs9xFVa+RXOCXgapnv+yAHHLxrM6c+AvUps5gs2TH9Dy214irIUc3d8/W1tPG9S5NLhAWEA6DgKI8mU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884440; c=relaxed/simple; bh=Jh8sKMHGD3BUgb5EV7tbPvDtVrQaHOZKBOqHJZasBBg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=b3Lss3q8BbJvaTto+TmSS5L6fTvtjmrvYdria1UrMMPTRy32Qs4L2qVGjVOfFR5Lvg1HsJU5UM+P3mrG+O0LEkymnT3PxLMEVKaQfgVA8MgQk/3atnIDkwKn7AIIg5EnzI/8XO+Ff6qI4jWZ16sj8As6GacqkqpNGS1eUCj55v8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1MHVxrBH; 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="1MHVxrBH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD6201F000E9; Wed, 27 May 2026 12:20:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884438; bh=P9VdsaBdiMs1+YQYzA2fHOqqbMz27b+lqu5DC8D+Av8=; h=From:To:Cc:Subject:Date:Reply-To; b=1MHVxrBHqm05n/YbD1fdzEQ0dYgkDJFPujsm+VdeslTGg/qdIwF0LCXSbI2xjT9hN F3d2jil66CasW4UEW5kM36bxsX/c3O2ao+2xrTGuHAls+t6Qv/hgAdhbxv37cU5V+Q u4XO8J+/uD1hHb4GO7REBUZyuzhdhaQVLzQv3dls= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45863: i3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers() Date: Wed, 27 May 2026 14:18:25 +0200 Message-ID: <2026052711-CVE-2026-45863-a8fa@gregkh> X-Mailer: git-send-email 2.54.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=2668; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kuh4m5724clmuky7fyIjoyc0FhgN5jR1jMUmgpozanU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliD5kjLBM51SUaCzaH2d2vz15/QeLKZrf2nWzrt+4K4 JH8O3FNRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk5U2G+R6fLdtKzosx8N+e vvDDc6bZDQ+8uhjmyqy4eHNqfdxcu4nKS44khvfYzLjpCwA= 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: i3c: dw: Fix memory leak in dw_i3c_master_i2c_xfers() The dw_i3c_master_i2c_xfers() function allocates memory for the xfer structure using dw_i3c_master_alloc_xfer(). If pm_runtime_resume_and_get() fails, the function returns without freeing the allocated xfer, resulting in a memory leak. Add a dw_i3c_master_free_xfer() call to the error path to ensure the allocated memory is properly freed. Compile tested only. Issue found using a prototype static analysis tool and code review. The Linux kernel CVE team has assigned CVE-2026-45863 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 62fe9d06f5709caa1fa68055873ff279e05ade37 and fixed in 6.12.75 with commit 140a45bd4f6db7d1b30cab967d29689b946c52fa Issue introduced in 6.11 with commit 62fe9d06f5709caa1fa68055873ff279e05ade37 and fixed in 6.18.14 with commit 8e71414e252c1cb235911008a98fd47927d3a55c Issue introduced in 6.11 with commit 62fe9d06f5709caa1fa68055873ff279e05ade37 and fixed in 6.19.4 with commit a2c41467ef42f69a3958493a0395ba75174710dc Issue introduced in 6.11 with commit 62fe9d06f5709caa1fa68055873ff279e05ade37 and fixed in 7.0 with commit 2537089413514caaa9a5fdeeac3a34d45100f747 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-45863 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/i3c/master/dw-i3c-master.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/140a45bd4f6db7d1b30cab967d29689b946c52fa https://git.kernel.org/stable/c/8e71414e252c1cb235911008a98fd47927d3a55c https://git.kernel.org/stable/c/a2c41467ef42f69a3958493a0395ba75174710dc https://git.kernel.org/stable/c/2537089413514caaa9a5fdeeac3a34d45100f747