Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3E3442DCF67 for ; Fri, 3 Apr 2026 15:26:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775229963; cv=none; b=k/ybkzmyr+Us6sJG3XurdogUDnasai/ZytJCXNBbg/UJ9XVVtkhw0TA4nl/BQ38ZmShjkSZr290mTzAABh2oZueaYFxnAvdl2VotBlvPFM3YqBrCz2eC25WveXo7a8t7Qm63fTz3E11njKhLbjNvxiAvDWN9aSdwPGBbpCtxxyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775229963; c=relaxed/simple; bh=PDfbeVAsIjkyfE2aLROsmBtJNDBtaZ+5TofnAlnPSsw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=J8fOVFgnMyw4GE2jcuXJdPlNfZKYPvRUNuTSOlWymwUwBYxrUXtpZSzDRxn4EFF+E+PiIc/3GII95mOHQg58n2rTcdhGK2i3Qx4s51Oy2HQsgDEUc2VnEm6eVRyCD2dh4SbH3e8wLCdYMHMssPVF1OiE9CE1QNLk9CfRWfpuQCE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ms7txCNl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ms7txCNl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98C0EC4CEF7; Fri, 3 Apr 2026 15:26:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775229963; bh=PDfbeVAsIjkyfE2aLROsmBtJNDBtaZ+5TofnAlnPSsw=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ms7txCNlIYpiwDDlTrhvehH4if/+jZLlfamWuuS7KATp40Jx57nNNR3c615gTy1wT l+37c+CJq8TGDJa/xVSBgp1P0Je0AXap1kr1yWlVXBqx2ZFhGfbfftpnOm95WcVPDW II5hEI4iFf41PjNeGtZrv3cSS+/xZKyGHpPWZ3v0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23464: soc: microchip: mpfs: Fix memory leak in mpfs_sys_controller_probe() Date: Fri, 3 Apr 2026 17:18:45 +0200 Message-ID: <2026040320-CVE-2026-23464-840f@gregkh> X-Mailer: git-send-email 2.53.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=2634; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MnEukhH2rZqOshILlf7q7T3HQcVxN/6H4pIUj6FHOug=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnnb9ms+zj1hZLwTk4X+w1tLSWJ3bFV2bt3X1xT5zN54 iqjixMvdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEXLsY5gfbKEkxi6mlWi+c /X/TsrKVFXcexjPMM7pyadvhnuzEM6sE2F+cdtz46UtAKwA= 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: soc: microchip: mpfs: Fix memory leak in mpfs_sys_controller_probe() In mpfs_sys_controller_probe(), if of_get_mtd_device_by_node() fails, the function returns immediately without freeing the allocated memory for sys_controller, leading to a memory leak. Fix this by jumping to the out_free label to ensure the memory is properly freed. Also, consolidate the error handling for the mbox_request_channel() failure case to use the same label. The Linux kernel CVE team has assigned CVE-2026-23464 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 742aa6c563d29c367edbf0ef7236a7a853ed9be4 and fixed in 6.12.78 with commit da4b44c42f40501db35f5d0a6243708a061490a0 Issue introduced in 6.8 with commit 742aa6c563d29c367edbf0ef7236a7a853ed9be4 and fixed in 6.18.20 with commit e3dd5cffba07de6574165a72851471cd42cc6d15 Issue introduced in 6.8 with commit 742aa6c563d29c367edbf0ef7236a7a853ed9be4 and fixed in 6.19.10 with commit 17c84fb7cf3971cc621646185d785670e9530ca1 Issue introduced in 6.8 with commit 742aa6c563d29c367edbf0ef7236a7a853ed9be4 and fixed in 7.0-rc5 with commit 5a741f8cc6fe62542f955cd8d24933a1b6589cbd 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-23464 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/soc/microchip/mpfs-sys-controller.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/da4b44c42f40501db35f5d0a6243708a061490a0 https://git.kernel.org/stable/c/e3dd5cffba07de6574165a72851471cd42cc6d15 https://git.kernel.org/stable/c/17c84fb7cf3971cc621646185d785670e9530ca1 https://git.kernel.org/stable/c/5a741f8cc6fe62542f955cd8d24933a1b6589cbd