Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 2BA7C3ACA4B for ; Thu, 28 May 2026 09:37:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961078; cv=none; b=B2uMsUN44L4An+ZzAFZ0OPSoFolCWo/ea/2dezodPlYPH7UZ0tjfraz4hpEQajW6aG8nkCPmeoQjcn5slWi/nujC7zJDmwdPDbnpB8qzTzXcQakdmBAjbQYIcsG0V5kJzJ3oNTRPLP3K3l3MQyEzUFiEQEy+DlGhseDbqR3K3eQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961078; c=relaxed/simple; bh=1m9paPiDqjM7sWz87pKLIdxUl58sMmwwB1WbPlMdWu4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UtHL7ks0s/fjI/deqOb1X+MeUK6EDA+B8zKgBsHq4tWA2XXCUCcQ4wmAw+cWZAYM6kltwSDn+94VDh5xvTWT/ymgKJ5VJtvI9BpUB/1LRfBC85kqOVVuc2q10BIjAAS4GOO5uNKOKeXl9zL3ArBHxV54YD3tf7FWSA05zruHQPA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=snqlWDie; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="snqlWDie" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6AD2F1F000E9; Thu, 28 May 2026 09:37:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961077; bh=c1QGRz5TWIu13FBSHxuIcJBeaQWoc1e6HHJ7tNPD0yY=; h=From:To:Cc:Subject:Date:Reply-To; b=snqlWDiecyApUd2MiSOjk25RVrE/Cv2d3JmVuGWZD1vF9NheRgckR/83tJ69nt1Ci U78D9RwxcADoTI47ihf8lmqLI4iIbYiI83FIcftRjtulyB+bj41SizP4Ka7PBy7qZ4 jAw1whtN7aAnT1l9T+newYKlZhkZTYPp3A2qqojs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46119: libceph: Fix slab-out-of-bounds access in auth message processing Date: Thu, 28 May 2026 11:36:24 +0200 Message-ID: <2026052814-CVE-2026-46119-13b0@gregkh> X-Mailer: git-send-email 2.54.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=3099; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=C97Bx95/Wl0Vn4Q3DoDosZWHQcH95kSCeLBJUJmql4Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSPH3blAS453q4HJmY09j7UpD7kLPShXfGjUFbu9V9i pffvhneEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABN5qc8wP5KN222BkXzZXveU zvqCydLxpzZKMsyve3Ze4hdX5M/0dUXqX/8eWPK44vsCAA== 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: Fix slab-out-of-bounds access in auth message processing If a (potentially corrupted) message of type CEPH_MSG_AUTH_REPLY contains a positive value in its result field, it is treated as an error code by ceph_handle_auth_reply() and returned to handle_auth_reply(). Thereafter, an attempt is made to send the preallocated message of type CEPH_MSG_AUTH, where the returned value is interpreted as the size of the front segment to send. If the result value in the message is greater than the size of the memory buffer allocated for the front segment, an out-of-bounds access occurs, and the content of the memory region beyond this buffer is sent out. This patch fixes the issue by treating only negative values in the result field as errors. Positive values are therefore treated as success in the same way as a zero value. Additionally, a BUG_ON is added to __send_prepared_auth_request() comparing the len parameter to front_alloc_len to prevent sending the message if it exceeds the bounds of the allocation and to make it easier to catch any logic flaws leading to this. The Linux kernel CVE team has assigned CVE-2026-46119 to this issue. Affected and fixed versions =========================== Fixed in 6.6.140 with commit 2ae0afd98432536562fa8261538ae795446f0589 Fixed in 6.12.88 with commit 408e85ee708b6aa03eeb0220ffa0915f4d407181 Fixed in 6.18.30 with commit b7df9fbd4869fdfe09a3f501ffd228486521e062 Fixed in 7.0.7 with commit 8517b6c8d2c759918ba0058cb6c7e14d59643202 Fixed in 7.1-rc1 with commit 1c439de70b1c3eb3c6bffa8245c16b9fc318f114 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-2026-46119 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/auth.c net/ceph/mon_client.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/2ae0afd98432536562fa8261538ae795446f0589 https://git.kernel.org/stable/c/408e85ee708b6aa03eeb0220ffa0915f4d407181 https://git.kernel.org/stable/c/b7df9fbd4869fdfe09a3f501ffd228486521e062 https://git.kernel.org/stable/c/8517b6c8d2c759918ba0058cb6c7e14d59643202 https://git.kernel.org/stable/c/1c439de70b1c3eb3c6bffa8245c16b9fc318f114