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 0DF60433D4 for ; Wed, 1 May 2024 12:57:28 +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=1714568249; cv=none; b=lYkHcVeV/MU02DokKuwaSi5fLn3MPvidq08OG+DUMVru+VcpOWEvo0lh596Dw1MasFz2+3x75jAo6gTFNt4jKfzEAz5bJA0uxsnPX90LPc8Pwao6zbDnLLUP3YeaxtjlJfhlsB1+KwmJaOuXPNu4Ib2RWlrRzzCAcxGY9ExIlyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714568249; c=relaxed/simple; bh=nZbW91LjOweeXSXnPAygWrPWdpITnqWyeTYsvxRxWI0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZWZ2F2CDKPV7pRHk4lbOmCuUXNeovuOY03R8a+etZ7AE2yJyaRH5v4bxzqABqL3/qC1FOU3c2exP5LxHFQkSstQnbLYZIf9bbzUDA8LAB8yqEQ62zhCvRQx9ivwkiFT/55EboiRsCFakk3BblYmiiwj+C06aPUiuI5AyOIu08RU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ow1ngPJC; 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="Ow1ngPJC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B24EC113CC; Wed, 1 May 2024 12:57:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714568248; bh=nZbW91LjOweeXSXnPAygWrPWdpITnqWyeTYsvxRxWI0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Ow1ngPJCj04l3oOSXpxSxdzj80GXa9EgAswcYnPeC6RXNWTzgho4u09824Ax/egHf f+y1JrayPvUyVDhnU2BWWPtgkHMkiy+tydxJ6sidaQ+voUPAHPYlpNn9u2+mUXi4gx V+K0Ff+L7Q8E5YmCeC7Dar0zHEHWWKtiNQOFOn1E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27035: f2fs: compress: fix to guarantee persisting compressed blocks by CP Date: Wed, 1 May 2024 14:57:20 +0200 Message-ID: <2024050111-CVE-2024-27035-1628@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=2386; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nZbW91LjOweeXSXnPAygWrPWdpITnqWyeTYsvxRxWI0=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlGNuoPzeeqdJ0z/v549quAdYZfdKqmv/8XHr40xLk1p 09eXEe/I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZidZphfvSKi4UJrPUTQ+R6 3E7mFZha7VHmZpgrmMu/xurHBU1eHZ+MzzFvdxy4fvMcAA== 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: f2fs: compress: fix to guarantee persisting compressed blocks by CP If data block in compressed cluster is not persisted with metadata during checkpoint, after SPOR, the data may be corrupted, let's guarantee to write compressed page by checkpoint. The Linux kernel CVE team has assigned CVE-2024-27035 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit 4c8ff7095bef and fixed in 6.1.83 with commit e54cce813725 Issue introduced in 5.6 with commit 4c8ff7095bef and fixed in 6.6.23 with commit 82704e598d7b Issue introduced in 5.6 with commit 4c8ff7095bef and fixed in 6.7.11 with commit c3311694b9bc Issue introduced in 5.6 with commit 4c8ff7095bef and fixed in 6.8.2 with commit 57e8b17d0522 Issue introduced in 5.6 with commit 4c8ff7095bef and fixed in 6.9-rc1 with commit 8a430dd49e9c 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-27035 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/f2fs/compress.c fs/f2fs/data.c fs/f2fs/f2fs.h 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/e54cce8137258a550b49cae45d09e024821fb28d https://git.kernel.org/stable/c/82704e598d7b33c7e45526e34d3c585426319bed https://git.kernel.org/stable/c/c3311694b9bcced233548574d414c91d39214684 https://git.kernel.org/stable/c/57e8b17d0522c8f4daf0c4d9969b4d7358033532 https://git.kernel.org/stable/c/8a430dd49e9cb021372b0ad91e60aeef9c6ced00