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 3CAED34D925 for ; Tue, 16 Dec 2025 15:06:49 +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=1765897610; cv=none; b=FtXLhwSQk+ZlV0D1d4GWa0UGxRMwKZ/+xzilm9hgxZc2Isy2PwrSvr5eqvzdlmsQWvksZUOKZ7hb6UP0/X+KNaMM8mk2otuLtvqWR1EuGhDEjO1Ha6Q2JoktOdEe4ZYovi9L6MyMy7lpv0sObPW23h5Ps6eekXujlIV24zZbB68= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765897610; c=relaxed/simple; bh=zCpzkBYoTVDkpvW+UkK3ODXVSnYFCXOOKnOkWtd1Vp8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=S2uFbsAlsCLejuDIME4rQloT412eGgVn6WDF5zVaWiGOBu9k+aamhMC78yFZpOVRE6ecmofn5JKG0OhbEnxDyWDVgokK3Zl71zinbCr/Ssh+LO6TqFgj8xDKPKDHDou5Nb0SvjIZ6UvEmTPO2txaTEq5qfxq6U/HFKBREB1sfrQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=p2QjT+wD; 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="p2QjT+wD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43BFDC4CEF1; Tue, 16 Dec 2025 15:06:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765897609; bh=zCpzkBYoTVDkpvW+UkK3ODXVSnYFCXOOKnOkWtd1Vp8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=p2QjT+wDH+eAZvESnF5UdKP4LJqXQ9phcfTGoeA2KfWDs8NNT5GF1O2QtAYvajT0J JWOnzs1FEC691Qnn3+cdneMn6qPOz4uT3WnQlUHGjPYTQ/skJ0rKheXpOxJOHZEKuO 3hzmlZJbQct+tAa+rFJ5Y1gbknkB6T8f+2aA/3Vs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68283: libceph: replace BUG_ON with bounds check for map->max_osd Date: Tue, 16 Dec 2025 16:06:37 +0100 Message-ID: <2025121637-CVE-2025-68283-77dd@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=2237; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=l2ibTNd9lb6SBUCkBPJ61f0z3NZXDTzT/CuiBlyiWW8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOpbXmnJeUo+oZtizQUfzr7RN4MFGPIWBicOC3yZNeJ NzR47PriGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIn06jIsWL7Bm+VNaNevkO9B xS4eTufX1F3bw7Bgvqs4s12g/tSPqyYb5xpURJnMeDYJAA== 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: replace BUG_ON with bounds check for map->max_osd OSD indexes come from untrusted network packets. Boundary checks are added to validate these against map->max_osd. [ idryomov: drop BUG_ON in ceph_get_primary_affinity(), minor cosmetic edits ] The Linux kernel CVE team has assigned CVE-2025-68283 to this issue. Affected and fixed versions =========================== Fixed in 6.1.159 with commit 57f5fbae9f1024aba17ff75e00433324115c548a Fixed in 6.6.119 with commit becc488a4d864db338ebd4e313aa3c77da24b604 Fixed in 6.12.61 with commit e67e3be690f5f7e3b031cf29e8d91e6d02a8e30d Fixed in 6.17.11 with commit b4368b7f97014e1015445d61abd0b27c4c6e8424 Fixed in 6.18 with commit ec3797f043756a94ea2d0f106022e14ac4946c02 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-68283 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/57f5fbae9f1024aba17ff75e00433324115c548a https://git.kernel.org/stable/c/becc488a4d864db338ebd4e313aa3c77da24b604 https://git.kernel.org/stable/c/e67e3be690f5f7e3b031cf29e8d91e6d02a8e30d https://git.kernel.org/stable/c/b4368b7f97014e1015445d61abd0b27c4c6e8424 https://git.kernel.org/stable/c/ec3797f043756a94ea2d0f106022e14ac4946c02