From mboxrd@z Thu Jan 1 00:00:00 1970 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 73FD12EDD5F for ; Tue, 30 Dec 2025 12:25:48 +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=1767097548; cv=none; b=UGc69TlNMNtH2cyrLqJt30prEE7t+Vfvn56OM6SMBcRtHv05xuBg24Znq6Kh1D4OajSrgU8w8V6f5TRIFnpAP9L3kpy33Pr40kbemK/vbUw5cN51E8AHwo45Tl7B8WWcHX1S1yfhPKkNEcuCtmFO7suBtflalembHP0E9aO0a4M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767097548; c=relaxed/simple; bh=ke33Chd0vBgbMcP+AwOElZvwD+gdLHIUEph7E/PKkfQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VSdaZOGGutedw3J6XkdqwLFXzHkU/7MwFM9rD+3uCQgRWs/8iBcEbVu2RrP+nIOEVJyqxv1dT7w55l1oETc17oVQ232z4R/+76umkEq6RL4k7/OEH5IGE6wtjLmvnqTgpCfjnwuQrZMNG1QLPIXR84gC0YJh/tsJGW1o8PjRlhE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xVmaxKAC; 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="xVmaxKAC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED908C4CEFB; Tue, 30 Dec 2025 12:25:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767097548; bh=ke33Chd0vBgbMcP+AwOElZvwD+gdLHIUEph7E/PKkfQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=xVmaxKACNs2RxUMOPka3UhRAK4XsKxgobm4S5TlN2esTV/swd65m2NJKx0nqleZxk vNtlqWG572Do0/Gjoslx1NVj677p1kMT19PfRpCOptY/sy7yilaLZL2txwK/JY0OvT i1oUlHDvw5CFh0ua7b5pSiRs/zrqXDCup702s4Ac= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54294: md/raid10: fix memleak of md thread Date: Tue, 30 Dec 2025 13:23:47 +0100 Message-ID: <2025123030-CVE-2023-54294-e7ac@gregkh> X-Mailer: git-send-email 2.52.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=3333; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JK02QfsI5UxrpsaYMPmle05hCG9HpSNHBOlo/3s/ggI=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBR5y6G59ks6WkpApI7j58zf+19PmJ+a7BS33KZhb17 Pxoq2fZEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABO5eYNhruC7WY3pb0qWhK04 u3v6rbe+ovaGkxgWbG98Ou+8Orf3r1+rL/+NOl93Lq6CBQA= 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: md/raid10: fix memleak of md thread In raid10_run(), if setup_conf() succeed and raid10_run() failed before setting 'mddev->thread', then in the error path 'conf->thread' is not freed. Fix the problem by setting 'mddev->thread' right after setup_conf(). The Linux kernel CVE team has assigned CVE-2023-54294 to this issue. Affected and fixed versions =========================== Issue introduced in 4.16 with commit 43a521238aca0e24d50add1db125a61bda2a3527 and fixed in 4.19.283 with commit abf4d67060c8f63caff096e5fca1564bfef1e5d4 Issue introduced in 4.16 with commit 43a521238aca0e24d50add1db125a61bda2a3527 and fixed in 5.4.243 with commit 3725b35fc0e5e4eea0434ef625f3d92f3059d080 Issue introduced in 4.16 with commit 43a521238aca0e24d50add1db125a61bda2a3527 and fixed in 5.10.180 with commit 2a65555f7e0f4a05b663879908a991e6d9f81e51 Issue introduced in 4.16 with commit 43a521238aca0e24d50add1db125a61bda2a3527 and fixed in 5.15.111 with commit d6cfcf98b824591cffa4c1e9889fb4fa619359fe Issue introduced in 4.16 with commit 43a521238aca0e24d50add1db125a61bda2a3527 and fixed in 6.1.28 with commit 36ba0c7b86acd9c2ea80a273204d52c21c955471 Issue introduced in 4.16 with commit 43a521238aca0e24d50add1db125a61bda2a3527 and fixed in 6.2.15 with commit 5d763f708b0f918fb87799e33c25113ae6081216 Issue introduced in 4.16 with commit 43a521238aca0e24d50add1db125a61bda2a3527 and fixed in 6.3.2 with commit ec473e82e10d39a02eb59b0b95e546119a3bdb79 Issue introduced in 4.16 with commit 43a521238aca0e24d50add1db125a61bda2a3527 and fixed in 6.4 with commit f0ddb83da3cbbf8a1f9087a642c448ff52ee9abd 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-2023-54294 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/md/raid10.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/abf4d67060c8f63caff096e5fca1564bfef1e5d4 https://git.kernel.org/stable/c/3725b35fc0e5e4eea0434ef625f3d92f3059d080 https://git.kernel.org/stable/c/2a65555f7e0f4a05b663879908a991e6d9f81e51 https://git.kernel.org/stable/c/d6cfcf98b824591cffa4c1e9889fb4fa619359fe https://git.kernel.org/stable/c/36ba0c7b86acd9c2ea80a273204d52c21c955471 https://git.kernel.org/stable/c/5d763f708b0f918fb87799e33c25113ae6081216 https://git.kernel.org/stable/c/ec473e82e10d39a02eb59b0b95e546119a3bdb79 https://git.kernel.org/stable/c/f0ddb83da3cbbf8a1f9087a642c448ff52ee9abd