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 A5384311971 for ; Wed, 14 Jan 2026 15:06: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=1768403201; cv=none; b=J2GZIF1wKtzzmfKKHh46/AhrJ9m96P3G/i0cg8Vq0RHg4PtpDHTpuOtDClQkzajl93VpnY1hZyfFRzkRsoUyWalB/ls/DpHySPzItwI/gHl8kA/FvmE6u1gxzZYkZgLHS3NbcKuX5E8SSxmy265Ty8OV9+590Pu+c6RwHwux9cA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403201; c=relaxed/simple; bh=d6EYWT/n3j0IE2f29ZtQI4MtY9e72ySdUCIPJlGywnk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ktsKNCj2MmGDO1Avk1d+eLo1xzC9El18G/k8wR4Ibvc9BKGkUbU1uM9EFB3rI/9CbAhPogcDiQbKUNMl58j/Tyqv3+BQysytfW9I8nFd1abc7POEhYqv7UFvcoh8HSUG7A1ACKO1wTiDZ9Xqvm5ruYaEALmuBOXYBY2J12Ce9cY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uUW19eSw; 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="uUW19eSw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06331C4CEF7; Wed, 14 Jan 2026 15:06:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768403201; bh=d6EYWT/n3j0IE2f29ZtQI4MtY9e72ySdUCIPJlGywnk=; h=From:To:Cc:Subject:Date:Reply-To:From; b=uUW19eSwyv30/pXuvdboVlO9mb4/+oSEgIHbl2FXZLYw6NXn6SdhZOjNQG6ULc98R IX/Sv55UGvu8G9mb/Nyi38B0yHEL6DYzo6tzedbdLEaR2Xd4fBGchgy0TEdfCu1x0P Eq/V5ca+3KDlt3l/kcymX3NKo7bTq2DhFeJuz4iw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71116: libceph: make decode_pool() more resilient against corrupted osdmaps Date: Wed, 14 Jan 2026 16:06:21 +0100 Message-ID: <2026011414-CVE-2025-71116-e57d@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=2403; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=I6qmpUEXcRcAz+IqLl79WE5OJ/xSPpuTQMmcGmmFi8M=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnpG57tCoz6/GrxybvPVvhWVWVEHo4quSwU/+Heufv11 n+c63psOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiLD4McyXvJc2xnr1xZaDF Zq4SeaE1unrLfjHMlW27lyboKLnjb/JmmcUFUUphHzk5AA== 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: libceph: make decode_pool() more resilient against corrupted osdmaps If the osdmap is (maliciously) corrupted such that the encoded length of ceph_pg_pool envelope is less than what is expected for a particular encoding version, out-of-bounds reads may ensue because the only bounds check that is there is based on that length value. This patch adds explicit bounds checks for each field that is decoded or skipped. The Linux kernel CVE team has assigned CVE-2025-71116 to this issue. Affected and fixed versions =========================== Fixed in 6.1.160 with commit c82e39ff67353a5a6cbc07b786b8690bd2c45aaa Fixed in 6.6.120 with commit e927ab132b87ba3f076705fc2684d94b24201ed1 Fixed in 6.12.64 with commit 5d0d8c292531fe356c4e94dcfdf7d7212aca9957 Fixed in 6.18.3 with commit 2acb8517429ab42146c6c0ac1daed1f03d2fd125 Fixed in 6.19-rc1 with commit 8c738512714e8c0aa18f8a10c072d5b01c83db39 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-71116 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: net/ceph/osdmap.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/c82e39ff67353a5a6cbc07b786b8690bd2c45aaa https://git.kernel.org/stable/c/e927ab132b87ba3f076705fc2684d94b24201ed1 https://git.kernel.org/stable/c/5d0d8c292531fe356c4e94dcfdf7d7212aca9957 https://git.kernel.org/stable/c/2acb8517429ab42146c6c0ac1daed1f03d2fd125 https://git.kernel.org/stable/c/8c738512714e8c0aa18f8a10c072d5b01c83db39