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 9581C315D20 for ; Wed, 24 Dec 2025 10:35:41 +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=1766572541; cv=none; b=aX8HQdmVa38M86jmC8ZnZjKrHBYV/5ykvbxQasNf5sVjjy6MHu1/PBdgZ5ryRULy3j05Ym75vZnTYuxFiVl2DJ0sLGIuikj1B0APrIE3FNwV6lyX/rdyjaPiAmoFEJAl2eL+XSw5+BY+K9JCSp/i1NsseN7upU1B1FJMP0hHchM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766572541; c=relaxed/simple; bh=4QRAT18Vm5swZyHR0bOsi+YoA1gdmuigHBOh1UsPj3g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cEh1jb7iWQiW55cGGbBNI+nhTj/XBmicPdRMdRJ0Byh+pBXrx+PUcIbufV1rMg/FhvsS/AH3ud7v1WZysXMw1WqaZ/VFPxKtWJ0gH2HTWAk5TikTzc5ioiYWxg0DUZbiMjfONiTp+JxZcSQ03ZFU2d4rnFXn3QuwpFuKw0Sb3nM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1pDGMUTF; 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="1pDGMUTF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C754CC4CEFB; Wed, 24 Dec 2025 10:35:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766572541; bh=4QRAT18Vm5swZyHR0bOsi+YoA1gdmuigHBOh1UsPj3g=; h=From:To:Cc:Subject:Date:Reply-To:From; b=1pDGMUTFBJaWw2cE1pOiYMbaVJE2WjbmGTUg06vYXADx5T3MkuEQq1yupp+S1+ixu BR8dRamH8nithzm3m0hJXz+sVGjBbHILIQLgytpzp5AReK8+87RfTfO7WiLZC2uSpO UhvmfKMchQMgxIU8tPeup7o2OOJd+3AEG7qR4THs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68361: erofs: limit the level of fs stacking for file-backed mounts Date: Wed, 24 Dec 2025 11:35:06 +0100 Message-ID: <2025122457-CVE-2025-68361-83eb@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=2311; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UXaFXMaL5IX7XAOiDkZvz8ylphgzfBrjpsKG9jDjDaA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneBy8ZbtfdftMl+nSgd47bzltbMy/PyD92/1Lg7Kwn+ y5Jf3b264hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJcN1lWHCgaqtW92bDviOR KbFJNeapstaLvzHMsz8i/TD2r/06M8ndrWdf/p0fsua3NwA= 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: limit the level of fs stacking for file-backed mounts Otherwise, it could cause potential kernel stack overflow (e.g., EROFS mounting itself). The Linux kernel CVE team has assigned CVE-2025-68361 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit fb176750266a3d7f42ebdcf28e8ba40350b27847 and fixed in 6.12.63 with commit 34447aeedbaea8f9aad3da5b07030a1c0e124639 Issue introduced in 6.12 with commit fb176750266a3d7f42ebdcf28e8ba40350b27847 and fixed in 6.17.13 with commit b4911825348a494e894e6ccfcf88d99e9425f129 Issue introduced in 6.12 with commit fb176750266a3d7f42ebdcf28e8ba40350b27847 and fixed in 6.18.2 with commit 620472e6b303c4dbcc7ecf1aba1cda4f3523e4a4 Issue introduced in 6.12 with commit fb176750266a3d7f42ebdcf28e8ba40350b27847 and fixed in 6.19-rc1 with commit d53cd891f0e4311889349fff3a784dc552f814b9 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-68361 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/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/34447aeedbaea8f9aad3da5b07030a1c0e124639 https://git.kernel.org/stable/c/b4911825348a494e894e6ccfcf88d99e9425f129 https://git.kernel.org/stable/c/620472e6b303c4dbcc7ecf1aba1cda4f3523e4a4 https://git.kernel.org/stable/c/d53cd891f0e4311889349fff3a784dc552f814b9