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 5DBED3AD47C for ; Tue, 16 Dec 2025 13:54:53 +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=1765893293; cv=none; b=dR8tSZ+3AIm9RlZqCm++cMXVQ7Bb/v2YytErN/jYh8qzAVypnMzCiYcI3y7Z21VXb3Ww9Kblxcxp3O1yLp0UZtZtxxzUXml1T7NLXbpTUAuFVrNFCrhvWGIfkgrHzkW6FofiJqtujoe1ElF5cLxX1Ha21XA0+aczcziQNfoHu0I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765893293; c=relaxed/simple; bh=eZptqIINKthByaPmCMs3r/CWlMp+odEQBaJUEbrrxrc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IlN3eDpgecZBt1yxOVn9goKSIfstEW5TDRD9tBXm4dUez8wKrSBtd3TUeg0iDImJDBtE6p2666xkFT4pa3CqdrMW0TnJskvUOigI7GYKqkMQC2SUV1g3q0nxpzXUFfzZK2FyO8as4UJ6UgPB5DNUj2lDAxAVIkpXDfH9JfOq1mo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QzsJmq3m; 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="QzsJmq3m" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92003C4CEF1; Tue, 16 Dec 2025 13:54:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765893293; bh=eZptqIINKthByaPmCMs3r/CWlMp+odEQBaJUEbrrxrc=; h=From:To:Cc:Subject:Date:Reply-To:From; b=QzsJmq3mCTwv+pgL2ZAjX7NpQJqe9rG/5KCgscvZum2DqXL2vnavQO7E1A0sIvWwd NHyRGh8LDuiQXkroctgtl3fFTkk7h7zO5ZikRlEU7F3KHpT3Wwku4TW3DAndPJEnW0 +I+SwThU9wHZExuCXm9+ye39ymWO/fcFV/Wf/Pxo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68210: erofs: avoid infinite loop due to incomplete zstd-compressed data Date: Tue, 16 Dec 2025 14:54:39 +0100 Message-ID: <2025121633-CVE-2025-68210-c4b9@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=2135; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ANHDDCWRh9R2aWgr+0++Qx87Lx4UbgHop4gxZ9OuVxo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOKTOv1cy2n3x8inbNVbYLTx+un2Ifa//bNDr4TBBL/ a5pDPsvdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEdvAzLFjSk1x0Y0rw7RBr g2eq//2fLejLTGeYH75c+9pkX5U1zu7+b5cUrHtUZ6C2CQA= 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: erofs: avoid infinite loop due to incomplete zstd-compressed data Currently, the decompression logic incorrectly spins if compressed data is truncated in crafted (deliberately corrupted) images. The Linux kernel CVE team has assigned CVE-2025-68210 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 7c35de4df1056a5a1fb4de042197b8f5b1033b61 and fixed in 6.12.59 with commit 4d0e0bb1908acac5b27d30b45c450e8ead97eb00 Issue introduced in 6.10 with commit 7c35de4df1056a5a1fb4de042197b8f5b1033b61 and fixed in 6.17.9 with commit 1f86d73a0afe43b6a85d2aa8207853350b7e2111 Issue introduced in 6.10 with commit 7c35de4df1056a5a1fb4de042197b8f5b1033b61 and fixed in 6.18 with commit f2a12cc3b97f062186568a7b94ddb7aa2ef68140 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-2025-68210 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/erofs/decompressor_zstd.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/4d0e0bb1908acac5b27d30b45c450e8ead97eb00 https://git.kernel.org/stable/c/1f86d73a0afe43b6a85d2aa8207853350b7e2111 https://git.kernel.org/stable/c/f2a12cc3b97f062186568a7b94ddb7aa2ef68140