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 190F21E884 for ; Fri, 15 Mar 2024 20:15:50 +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=1710533751; cv=none; b=ofRYBi+GRZgA9LG0uVoS+OcKWPHAyexykv3hcX58RGzBeEo26kDr9u2rFnd2r0flE0DqFs1a8FYJ3kkgBa20/Nn6tbd2Fbq6y1efrYkdov+RGvNd6TIPUr7wpMEDsTcrDjGG2MAiaXg2Fw/KpjH6RIe927yMOAxBl1qtleNmc4M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710533751; c=relaxed/simple; bh=bf+ai+vx2MDTMtDh44UqyHRrVEzxTM/e0LHDxazIdIE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=he7fL2+3ugDUrzHXB/aZXejGyefruChyBeWPe1TcWlErcf73wPwDyO6RKVBNA9isgjTt0HAOJ5BrEa1bIj0VfFe1QL/KTk0eFvb90RnpgXteDHZnApZJ8IxrCN067yEU0TfD44e5m5RpEIvLQkO1vilgENk6uhQffMg0JFZa4MM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BwyIRoXh; 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="BwyIRoXh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B569C433F1; Fri, 15 Mar 2024 20:15:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1710533750; bh=bf+ai+vx2MDTMtDh44UqyHRrVEzxTM/e0LHDxazIdIE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BwyIRoXhgHMJ/bAB8N3w+fJyS4JNHwb7DlluFWFRNDAQrl5FKU5H21AESFkuXbYND UR6c1nXDoe1Gg9cwHyhn/4hGg7unVph5lPebxzwlFnl+MGBDJqWGJZ6txc6CG/b0s0 aIOIAN3dl0M9lNB4KnJFUBEJNUR1BQJy50JhnsmY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47116: ext4: fix memory leak in ext4_mb_init_backend on error path. Date: Fri, 15 Mar 2024 21:15:06 +0100 Message-ID: <2024031508-CVE-2021-47116-8383@gregkh> X-Mailer: git-send-email 2.44.0 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=1778; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bf+ai+vx2MDTMtDh44UqyHRrVEzxTM/e0LHDxazIdIE=; b=owGbwMvMwCRo6H6F97bub03G02pJDKlf1vjMupzfnN6+bb2GZNC0aRrJjmdbGJZv2qJ55knHs pAIVZ2dHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARsW6GueJ856at1dqtf6WB e/KH3d0S+zPmsTEs2LJD02Tnqv3lH89EnS6svfEi0PnndgA= 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: ext4: fix memory leak in ext4_mb_init_backend on error path. Fix a memory leak discovered by syzbot when a file system is corrupted with an illegally large s_log_groups_per_flex. The Linux kernel CVE team has assigned CVE-2021-47116 to this issue. Affected and fixed versions =========================== Fixed in 5.10.43 with commit 2050c6e5b161 Fixed in 5.12.10 with commit 04fb2baa0b14 Fixed in 5.13 with commit a8867f4e3809 Please see https://www.kernel.org or 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-2021-47116 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: fs/ext4/mballoc.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/2050c6e5b161e5e25ce3c420fef58b24fa388a49 https://git.kernel.org/stable/c/04fb2baa0b147f51db065a1b13a11954abe592d0 https://git.kernel.org/stable/c/a8867f4e3809050571c98de7a2d465aff5e4daf5