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 427C31F4FA0 for ; Mon, 21 Oct 2024 12:18:09 +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=1729513090; cv=none; b=RAOaDSKXoTeYuXhzQ2GSdqU3ZFqHGOekMzCHpfCjatfFBmopkUpKF8njpAuDw9KRBTEqMMlpBirtaWH2R54cR6NwK6Fubpyl6h+KWWS7NZYPCfxFF0fas+8JccVMytu3p5utrEQFkT7XeCMM4A00U2NxAcNG2xerKiZHIL4J7qU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729513090; c=relaxed/simple; bh=Fgk6HrcLT/rR2eoaNXNuBI77oSaYZFxt6nYB2PQ5aT4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IoeoP8UThp9DRxY2IyzIozuNu6cSlqmvY+0Zgq2bfvVLOyYZfoAWVjD1z0hCBSfIT3cVxflG7L2oE5KYBPFCSQTzmIE+UZ/QFnZjQuyP44Pluyx0K60e2O+Tbi5wFUagmFJSS7Jt9NCjeLoRiR2DCet/I5BMwjdUeFsqlE27ylA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CfA7MWtW; 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="CfA7MWtW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E6BFC4CEE4; Mon, 21 Oct 2024 12:18:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729513089; bh=Fgk6HrcLT/rR2eoaNXNuBI77oSaYZFxt6nYB2PQ5aT4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=CfA7MWtWndTLP9LsI5TtJtIV0Hd3bF1OeatVctfANVHMQFfgL5foHwBiqMkqI2KaH Ns5wXxPyQutJpIxFVmyOyUTRSFTgINsyisJ2VAooDUpq89vSkcU4KhFsZWimwnT+m8 LoRaCzFkH1627WU1MHR8R3A8mNo4z8sxBtzykVwk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-47726: f2fs: fix to wait dio completion Date: Mon, 21 Oct 2024 14:16:05 +0200 Message-ID: <2024102104-CVE-2024-47726-ae53@gregkh> X-Mailer: git-send-email 2.47.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=1683; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Fgk6HrcLT/rR2eoaNXNuBI77oSaYZFxt6nYB2PQ5aT4=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlibixT7aynV90utP7M1cHOvGrrtq48eeHz1xexep+Y/ pE/Z4lZRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk4kyG+WGblv848cR26zmJ T6GtcetWHrG+Ls8wz0Bk7rIzEzV1TqXIHLaacKhLwXRhLgA= 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: fix to wait dio completion It should wait all existing dio write IOs before block removal, otherwise, previous direct write IO may overwrite data in the block which may be reused by other inode. The Linux kernel CVE team has assigned CVE-2024-47726 to this issue. Affected and fixed versions =========================== Fixed in 6.11.2 with commit e3db757ff9b7 Fixed in 6.12-rc1 with commit 96cfeb038953 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-47726 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 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/e3db757ff9b7101ae68650ac5f6dd5743b68164e https://git.kernel.org/stable/c/96cfeb0389530ae32ade8a48ae3ae1ac3b6c009d