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 42AA8216E1B for ; Wed, 26 Feb 2025 02:14:10 +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=1740536050; cv=none; b=pTX+dVJZmAKDZHo3GBnFJmVDJM0BpcK8bBU/b1+YxaHLHWTw+FnjtIBySIwB7MAD1VsJ8I5mpIsjAj8yD6BvAvIeXnN5Le2TBS3Mfh719ZzhpMwDt2lADWp/+xVapGsqCQ/eAqnPPPuEsSiXRPoALLn0c8l3pWB38QuCVxORMZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536050; c=relaxed/simple; bh=pxH6auth5LUl7GYBQYPF3bWv70+Vr/HZg+dmg8ywIZs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WK+euLTP7fIJLgiY6yweG1lwl8PsI3BMRdLbSRFgKyhJa1ku5HAsMQBfOMSaQbZvR2TeIrzs7Ffi2q/rQ2TptHyFDjB6e3V65jvaaiC8blohiDfUIAGcWrvEJ0G64LZizsV8Rhn/KbgD1v7e4t4QT8xrH75sarnAaxtUQkKa3cI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gwS8Knls; 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="gwS8Knls" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 180CFC4CEDD; Wed, 26 Feb 2025 02:14:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536050; bh=pxH6auth5LUl7GYBQYPF3bWv70+Vr/HZg+dmg8ywIZs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gwS8Knls1lJ0B8QtFeC+jTjmxHZBrkUj0316N3jtbRvTPEYcNlavn4gzm5C8qWUWi 2yTFigsABKmWc198eGGJtdkVNPuWGTupjy8XCs6B2kkFQPxzTRbMJVP0FVg4+xKJDG Pc2B28OXYouB2LseBSBSzhqb+RLFrErGKyaleHIk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49384: md: fix double free of io_acct_set bioset Date: Wed, 26 Feb 2025 03:10:58 +0100 Message-ID: <2025022648-CVE-2022-49384-422b@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2396; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pxH6auth5LUl7GYBQYPF3bWv70+Vr/HZg+dmg8ywIZs=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7yt+I3Cg+yCQ1m09DOG6as9aLicp+kanl3DdmyzT+X FD9nPV5RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyk4DHDXLFznEY/8t4FreH/ 1Nn2337l7mc/NRnme32+nC62LvDmq2nyBnfSZ26dr/L7BQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: md: fix double free of io_acct_set bioset Now io_acct_set is alloc and free in personality. Remove the codes that free io_acct_set in md_free and md_stop. The Linux kernel CVE team has assigned CVE-2022-49384 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15.17 with commit 00e3d58f50a875343124bcf5a9637520a492b0d1 and fixed in 5.15.46 with commit 36a2fc44c574a59ee3b5e2cb327182f227b2b07e Issue introduced in 5.17 with commit 0c031fd37f69deb0cd8c43bbfcfccd62ebd7e952 and fixed in 5.17.14 with commit f99d5b5dc8a42c807b5f1176b925aa45d61962ab Issue introduced in 5.17 with commit 0c031fd37f69deb0cd8c43bbfcfccd62ebd7e952 and fixed in 5.18.3 with commit ea7d7bd90079d96f9c86bdaf0b106e0cd2a70661 Issue introduced in 5.17 with commit 0c031fd37f69deb0cd8c43bbfcfccd62ebd7e952 and fixed in 5.19 with commit 42b805af102471f53e3c7867b8c2b502ea4eef7e Issue introduced in 5.16.3 with commit 92053ae0398a58c6914e807d5e070297ba8cfe88 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-2022-49384 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/md.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/36a2fc44c574a59ee3b5e2cb327182f227b2b07e https://git.kernel.org/stable/c/f99d5b5dc8a42c807b5f1176b925aa45d61962ab https://git.kernel.org/stable/c/ea7d7bd90079d96f9c86bdaf0b106e0cd2a70661 https://git.kernel.org/stable/c/42b805af102471f53e3c7867b8c2b502ea4eef7e