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 9BC48152DFA for ; Wed, 3 Apr 2024 17:33:15 +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=1712165595; cv=none; b=dzvhinKhpVywYPWOVrKZvZMs3DrwbxMM7/jt0ThXZvLE6KHGUBFuyP/bJO3Blnxom0eoAmA82PbHJcJrAhbVUB7gU1BtbKitVZYMqseVSds7mPYhyKVLJL6zBSpWx4Dw8zOgWCEEriIUyVr47CUPJ36oN9MC9TWBOtcSwhYIiQU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712165595; c=relaxed/simple; bh=pmXTZI2EdALtY7P18hbv1n9PIynpHJ52RQc3/qyvQO0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GXiWtQy4gDrI9nEbN9nMEXm7Xap82JMhYEK0/7/J8LDKPZcKgupjC3MM+904tb1/+6l9ehbkYfjvo+6tDbFOWMZezhTH46RSZmcNhBYIgmKaQl2elYRQyh2NhMi1NYTX/aNYlhCbLY/5W/tGsOeZdWd2NzqhknEGbcVEvk5K4ss= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=n7aU6G8O; 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="n7aU6G8O" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A31EC43394; Wed, 3 Apr 2024 17:33:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712165595; bh=pmXTZI2EdALtY7P18hbv1n9PIynpHJ52RQc3/qyvQO0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=n7aU6G8OKo5+dTS9rn8423rVO0h3x6aI1k/9tY6dKtZyGzpCM0aDzTz8JPoAsVqOO xnAHy2KoQ+MBkghR0m9l7MqGMMthZO8YEF6gyDkyvRw5PutS3PfzKSUBqRIwO4shRO qQp4io9cwP8hYBFJZ5Scde4I5adCcxGGjrWY7SKo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26772: ext4: avoid allocating blocks from corrupted group in ext4_mb_find_by_goal() Date: Wed, 3 Apr 2024 19:31:39 +0200 Message-ID: <2024040308-CVE-2024-26772-5168@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=2452; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pmXTZI2EdALtY7P18hbv1n9PIynpHJ52RQc3/qyvQO0=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm8k2Jy1k9XmMi5NNvd0cl0ucO3q/Gmpe9zw96xf3501 OnXnZWXO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi5xMZ5mdw965T/mOfG/+q 88wC1eyEq1+4LRgWLD6d3MEy5Xm4eS3b94Dt0roPYpaHAQA= 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: avoid allocating blocks from corrupted group in ext4_mb_find_by_goal() Places the logic for checking if the group's block bitmap is corrupt under the protection of the group lock to avoid allocating blocks from the group with a corrupted block bitmap. The Linux kernel CVE team has assigned CVE-2024-26772 to this issue. Affected and fixed versions =========================== Fixed in 4.19.308 with commit 5a6dcc4ad0f7 Fixed in 5.4.270 with commit 6b92b1bc16d6 Fixed in 5.10.211 with commit ffeb72a80a82 Fixed in 5.15.150 with commit 8de8305a25bf Fixed in 6.1.80 with commit d639102f4cbd Fixed in 6.6.19 with commit d3bbe77a76bc Fixed in 6.7.7 with commit 21dbe20589c7 Fixed in 6.8 with commit 832698373a25 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-2024-26772 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/5a6dcc4ad0f7f7fa8e8d127b5526e7c5f2d38a43 https://git.kernel.org/stable/c/6b92b1bc16d691c95b152c6dbf027ad64315668d https://git.kernel.org/stable/c/ffeb72a80a82aba59a6774b0611f792e0ed3b0b7 https://git.kernel.org/stable/c/8de8305a25bfda607fc13475ebe84b978c96d7ff https://git.kernel.org/stable/c/d639102f4cbd4cb65d1225dba3b9265596aab586 https://git.kernel.org/stable/c/d3bbe77a76bc52e9d4d0a120f1509be36e25c916 https://git.kernel.org/stable/c/21dbe20589c7f48e9c5d336ce6402bcebfa6d76a https://git.kernel.org/stable/c/832698373a25950942c04a512daa652c18a9b513