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 2F0233B9D81 for ; Mon, 10 Aug 2026 12:03:40 +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=1786363424; cv=none; b=oa5Nloy8LGwVbfa9LPw+2p6N0tzsa3NZpubN7EQW8mLi2AAcxPE2CHyVr+H/kSohdFe0Oj5eLPs2j0bdQ+2bASHJ6pl+LxHqWclQw2uMbrtqb5+g83bRBk3W9lwzuErpqh5sJU13rHoS2C+ZhsmS9X7374m060kwc98azSJstnU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363424; c=relaxed/simple; bh=3TorXo3C95rHANGcG/PmXMIAG3izhmxPfnS7aSc+F+g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FRBkUHdxGUCLI3w62s50XEiVlIW+ErHUzt3DuS/IAvZICbA/DMqI08OEFyQKjP6ZHhbZyQac6tg9S0eUIk2h9AcRe4U8yxB80hEY/4flFkkMvnFlA2JvuAmQd37Yq2o9POHxyuautfAzu9Z7rMM3cioVPWomIfPoAZEhOzrkcww= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=t6xQvPc4; 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="t6xQvPc4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7176B1F00A3A; Mon, 10 Aug 2026 12:03:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363418; bh=pDetQxUtt+h5wU7lNBaRFa19WqbfAJaMU4ogFJ++FJE=; h=From:To:Cc:Subject:Date:Reply-To; b=t6xQvPc4q0GL8+HScSMBBGrHlqxGEZhsw9xtoTZMIS7E0aUC91z4s+8utinWWYnlw X8ZoIhImR+e1uIsN5R5ITTriuNlca8RjSZUswDiie4eQ93tCnOuieKBJaYN4dcY7eq iHDSVHmLTmzkXNfGiSo7hReN7+q0fGI7a+ddgvTo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68157: libceph: guard missing CRUSH type name lookup Date: Mon, 10 Aug 2026 13:57:54 +0200 Message-ID: <2026081003-CVE-2026-68157-fb95@gregkh> X-Mailer: git-send-email 2.55.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=2939; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZX/akeGZVcLO5ZE5NAnkYkWUFZf6Ae1nycQ6GSHl3PY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe/oNTkm6uC24/LdY+PeUCd2SAYu/ur1Mbq9YL9uS8 7v22cSSjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIfneGedbcU86cXbFvh0L7 Hdl0rtMXD8XWeDHMj9V4K8TvtEh//pnVp6dbTi98xTB1MwA= 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: guard missing CRUSH type name lookup Localized read selection can walk a parent bucket whose name exists in the CRUSH map while its type has no matching entry in type_names. get_immediate_parent() then dereferences a NULL type_cn and passes an invalid pointer into strcmp(), causing a null-ptr-deref. Skip such malformed parent buckets unless both the bucket name and type name metadata are present. This keeps malformed hierarchy data from crashing locality lookup and safely falls back to "not local". [ idryomov: add WARN_ON_ONCE ] The Linux kernel CVE team has assigned CVE-2026-68157 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit 117d96a04f007ce8fc2e292369056c3bd09f6f63 and fixed in 6.6.148 with commit c46d82c47afc968d6ee8ef4470fa2dd35b765c21 Issue introduced in 5.8 with commit 117d96a04f007ce8fc2e292369056c3bd09f6f63 and fixed in 6.12.101 with commit 3767c9f0c1bbd98dd25cb088356a0fc6c1f09f50 Issue introduced in 5.8 with commit 117d96a04f007ce8fc2e292369056c3bd09f6f63 and fixed in 6.18.42 with commit 4716a64b7cc2797741f7be4e283ace78a9dff37d Issue introduced in 5.8 with commit 117d96a04f007ce8fc2e292369056c3bd09f6f63 and fixed in 7.1.6 with commit db9cc9fd9660b2d69ee66f5a4cbec83c21a1c64d Issue introduced in 5.8 with commit 117d96a04f007ce8fc2e292369056c3bd09f6f63 and fixed in 7.2-rc5 with commit bbeae12fda3384a90fbebc8a19ba9d33f85b5361 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-68157 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/c46d82c47afc968d6ee8ef4470fa2dd35b765c21 https://git.kernel.org/stable/c/3767c9f0c1bbd98dd25cb088356a0fc6c1f09f50 https://git.kernel.org/stable/c/4716a64b7cc2797741f7be4e283ace78a9dff37d https://git.kernel.org/stable/c/db9cc9fd9660b2d69ee66f5a4cbec83c21a1c64d https://git.kernel.org/stable/c/bbeae12fda3384a90fbebc8a19ba9d33f85b5361