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 64510143C6F for ; Tue, 21 May 2024 15:25:03 +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=1716305103; cv=none; b=XFlh6XsPLYT5z5fS8lFrsb06RIVak6dHY8sMcxX5U1iUdqpk/EXVgOsRHNrHGEP/Fj8ImshxaSk8WRUUELnt0o5YW9ftO1/8WiL0Ehsi9Dr4H/5kkNGf1MBStSozwkLp5d4b2+0YoTkqHGP9f0MnxBEhRwFWf55pbrQ4bUGVUwY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305103; c=relaxed/simple; bh=3CNyzJT9Yex8+dICIQM1mGWyT36Ux7TnnGr0y+uUViw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pEe9zW8KTNDHPcxaQap+nGBXazxufOUB7xleUHdPk6hd9zfhfjGTKirY0TN1BQj0nXSPP0JUmDlAWFwj1v3XAQXfsB1/1aJFfLvPCXvOelMnga8EOC0fAwpR0vfBieqlZfnLgeAQqbKMsvzIIIk+JRrkzw427FO/gdd53d3iDi8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qv0PeieQ; 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="qv0PeieQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB5A5C2BD11; Tue, 21 May 2024 15:25:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305103; bh=3CNyzJT9Yex8+dICIQM1mGWyT36Ux7TnnGr0y+uUViw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=qv0PeieQcfvezaDUtuqefpViwm9oTaBvX8WwnNnB/3UfjUQVtR20cjeXR4hfwoTxT oK3pyGlgElSXa9ICH5meIh4aXJyZAX8gahgggfC2UL1lGRm/1Dh/SS2mn/SLe7E1YC zTK32JqcFiHS//ytP0QNonZM46Kxkv2/9EVVMZos= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52732: ceph: blocklist the kclient when receiving corrupted snap trace Date: Tue, 21 May 2024 17:23:09 +0200 Message-ID: <2024052159-CVE-2023-52732-c783@gregkh> X-Mailer: git-send-email 2.45.1 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=2076; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3CNyzJT9Yex8+dICIQM1mGWyT36Ux7TnnGr0y+uUViw=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk+e4LXFrFvj5qkWcyy1ouhNmv7StUJ60J0b3Cy/e7UP u656VpKRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEzJ5hwfR1N3QUijUFJv0/ PdVja8qn7TZ+iQwLJtVqX5WQfBH7K2l3nkpOdstewScKAA== 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: ceph: blocklist the kclient when receiving corrupted snap trace When received corrupted snap trace we don't know what exactly has happened in MDS side. And we shouldn't continue IOs and metadatas access to MDS, which may corrupt or get incorrect contents. This patch will just block all the further IO/MDS requests immediately and then evict the kclient itself. The reason why we still need to evict the kclient just after blocking all the further IOs is that the MDS could revoke the caps faster. The Linux kernel CVE team has assigned CVE-2023-52732 to this issue. Affected and fixed versions =========================== Fixed in 6.1.13 with commit 66ec619e4591 Fixed in 6.2 with commit a68e564adcaa 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-52732 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/ceph/addr.c fs/ceph/caps.c fs/ceph/file.c fs/ceph/mds_client.c fs/ceph/snap.c fs/ceph/super.h 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/66ec619e4591f8350f99c5269a7ce160cccc7a7c https://git.kernel.org/stable/c/a68e564adcaa69b0930809fb64d9d5f7d9c32ba9