From mboxrd@z Thu Jan 1 00:00:00 1970 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 AC56E238177 for ; Wed, 16 Apr 2025 10:20:50 +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=1744798850; cv=none; b=bqSsXiXxokDpvVCZrxDnb/Udd7ivnwit0qkXwyjuH43m0Y2QDxj1+kiM5oycK+K8ram54S1p/LpTAMffCkDe5qBsGBLwmQ3ZCLLgfXgsoylFei6iAB5y93hHWsIcCL01kPbc8YYcGPsb3JeU9XPNQZ9ESyIRD7BbD2ClhV9jpHg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744798850; c=relaxed/simple; bh=NLIZ/aVh5t/0wTzLyjfuYPDjseW26ngvQCkYsRtlD/w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gqGMO0YQGRkeZMJrODqwdb3CZXye8zQaUraIhFaYhiJjIKDOxVPOognWU8FFUZM7di1aiPWxNCQIGf2ehAdQ2+c+fFRd13ZvPZ1tnQ4lqF5E/R573kgCgMe73gf5+nl4UkAPu56Wg8LogEW6mL2WA/O1cmMu4nupwr4jmkqZziY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tsvblmJr; 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="tsvblmJr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9EED2C4CEE2; Wed, 16 Apr 2025 10:20:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744798850; bh=NLIZ/aVh5t/0wTzLyjfuYPDjseW26ngvQCkYsRtlD/w=; h=From:To:Cc:Subject:Date:Reply-to:From; b=tsvblmJrumpIQ8fgo75zZmts0bGdVURbzs8QrsbyVToTR//JWW1l2k7rQvsG/G0JQ fLnwGWxOgXj9VDzwPfp0reaWRI/F3otMCkmOViHc18lk2V484BjOzNW2sICYzhL5Q4 LqIQMUNNnHg2D2jidPP9eC3muh/Oh6UA2Dm6CTuY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-22019: bcachefs: bch2_ioctl_subvolume_destroy() fixes Date: Wed, 16 Apr 2025 12:20:41 +0200 Message-ID: <2025041640-CVE-2025-22019-e865@gregkh> X-Mailer: git-send-email 2.49.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=2016; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NLIZ/aVh5t/0wTzLyjfuYPDjseW26ngvQCkYsRtlD/w=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn/WyoaRe6cu/em1rzBg23VBK8OrpsqnxZr/LPY/z51e sbT310mHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARbT6GObw35CR6Xsyz81p8 8dPrxCtvZp3ofcUwV+Yvu3HL8UnnUm484+7MTur9z9mmBwA= 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: bcachefs: bch2_ioctl_subvolume_destroy() fixes bch2_evict_subvolume_inodes() was getting stuck - due to incorrectly pruning the dcache. Also, fix missing permissions checks. The Linux kernel CVE team has assigned CVE-2025-22019 to this issue. Affected and fixed versions =========================== Fixed in 6.12.22 with commit 9e6e83e1e2d01b99e70cd7812d7f758a8def9fc8 Fixed in 6.13.10 with commit 82383abd39abd635511b8956284a5cc8134c4dc1 Fixed in 6.14.2 with commit 558317a5c61045d460a37372181e7b43c0c002bb Fixed in 6.15-rc1 with commit 707549600c4a012ed71c0204a7992a679880bf33 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-22019 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/bcachefs/fs-ioctl.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/9e6e83e1e2d01b99e70cd7812d7f758a8def9fc8 https://git.kernel.org/stable/c/82383abd39abd635511b8956284a5cc8134c4dc1 https://git.kernel.org/stable/c/558317a5c61045d460a37372181e7b43c0c002bb https://git.kernel.org/stable/c/707549600c4a012ed71c0204a7992a679880bf33