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 78F7B2E22B5 for ; Tue, 9 Dec 2025 01:32:35 +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=1765243955; cv=none; b=FXH5sAsirihBFGuz1Y+9Wh+cJWiC7XAg9LaJimZIaO1dAH/+gG0w36bsHtZFfqRYTsu/UhSoBE58wc8UWPrm3MxiZqPFuQ6o1YOWlEIBOA3bxMy5yjIFBSgFznt+t9hs+l9oa/AVyNLK9AlriX9Xrm6nb84H4kB66gfYDLrndnE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765243955; c=relaxed/simple; bh=ifo0Ajn/BuBkD+LQ4sLP4AUx7deAzrlFE2bIueQJHhs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=S3G59Gxd1AbPezvgHRK3nb5BwYGzgpP2ix+t0IDtvzcJ+6UI8w2t5b6PPWY+EzsncoamMKrgBcMlWtVqjn5u0/tlTcEQsv01pU64sQvtbfLiFQoNvBrFXsSTVT8TzDlxePil9fAWnkZMm0bVjjjfqPZuUxoPGSApeBTrSbojCXA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=m1RxHnJ4; 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="m1RxHnJ4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1ADAC4CEF1; Tue, 9 Dec 2025 01:32:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765243955; bh=ifo0Ajn/BuBkD+LQ4sLP4AUx7deAzrlFE2bIueQJHhs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=m1RxHnJ406N2deZNwYULoUa1DYJems1vlIrN4/zU3aXRnNFrqBkpC3mUXYkdLtO5V wWWXr0Hsh43YZrmtB/ZyO3CoCujotinRnVNmp+jgUgPV9hE/JPeEzqFr1IkR/s762Y e/Tt4ZHvAsG2kdur28t6xoxNVJ3/T8GLMh7aKxfg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53838: f2fs: synchronize atomic write aborts Date: Tue, 9 Dec 2025 10:31:22 +0900 Message-ID: <2025120956-CVE-2023-53838-4c32@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=2260; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=y0eQAw/e1Qk9KIvK2mcGOIcyUgS+5MA0yWA5+HyAB1c=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnm1ReWLWzYpXtQmnkDc83/oxp8UhaWKpmHeF+u3vPZo 3j/m4e/O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi4T4Mczg3BCcvcdS2fW7g ofCfZ53+yS8KJxnmp25NX3z9WkTprMVzWe1NPgTcDFw2DQA= 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: f2fs: synchronize atomic write aborts To fix a race condition between atomic write aborts, I use the inode lock and make COW inode to be re-usable thoroughout the whole atomic file inode lifetime. The Linux kernel CVE team has assigned CVE-2023-53838 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 3db1de0e582c358dd013f3703cd55b5fe4076436 and fixed in 6.1.18 with commit 102b82708c1523b36d421cb8687746906069bc17 Issue introduced in 5.19 with commit 3db1de0e582c358dd013f3703cd55b5fe4076436 and fixed in 6.2.5 with commit b7724360714642099cec907f54f42e55f5325453 Issue introduced in 5.19 with commit 3db1de0e582c358dd013f3703cd55b5fe4076436 and fixed in 6.3 with commit a46bebd502fe1a3bd1d22f64cedd93e7e7702693 Issue introduced in 5.18.18 with commit 6db52f1944417c2601182a591a704e2f119c5215 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-53838 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/file.c fs/f2fs/inode.c fs/f2fs/segment.c fs/f2fs/super.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/102b82708c1523b36d421cb8687746906069bc17 https://git.kernel.org/stable/c/b7724360714642099cec907f54f42e55f5325453 https://git.kernel.org/stable/c/a46bebd502fe1a3bd1d22f64cedd93e7e7702693