From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796045409; b=1RAnU9oz2vyGBH9fm34jXDPggqJUmLHv3fasv7czXO8sElL3n8Qd3vTQSo7ll+kGghTm fiA66/LL3kM8aTegmreVM6Z0RD8+sZNqnkZZDzmitUSiE/3CIe9xgCNdyb8Cti/ztO87x JXTpgyVp7mgpUeq1YCBj5VhVzhvxwrXLMO3smLUhXFHoKg0VdM47+q9HCdTQUPf/ESMeM ruU4Iy94Oj02S9zhw3O7rSO/OQJP8z7R2iq9s84f/2HRjuDqfAm6Wo4ouaewjjGz1UFbd VotFld3cXhQiY9rAnIAsGMXEmSs3/leVkavrgz1fYEoBjFAzrBQEVYwG1nVGTIMaVFw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796045409; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=ZGPzO0ET+MF/gPZVRoOAtcnDtcAx+AJOnlYPMfkuvpc=; b=BzxZKZ5EAPEUXNJ7da2EFfSyIgyIfGlTA6GdlXabkSQ03ci5ouA5hrS0FQUVl0ynsB3F L2KxM4/+2aNw4hXgbl0Ro3BW9GQ/5/aA85y5aQpRhRM/kDuYSRTNRWOmEn3Ft1x+jh3Yx vvtezUJncrNi35A7yut6hymFu71HYO5ElWmAyzR0urQYLpU77o2Xf2O/LONm7+WdNAI5W f8Aktmu/HNw8kVMZp48xHM6SnrGUeea3xV/siNbvyBo5CIqlHuMTPpDEWzsfo54PHWYU3 8W4Dw9m79VYoM7b2y1lfCpaHeba9oPGLZBn1ii10W4RZsn4PPEasEuEL1PBrpmgiGHA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b="Of2frW/O"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 17FD4606A325 for ; Mon, 30 Nov 2026 13:30:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Of2frW/O Received: by smtp.kernel.org (Postfix) with ESMTPSA id D69051F00898; Mon, 30 Nov 2026 13:30:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796045408; bh=ZGPzO0ET+MF/gPZVRoOAtcnDtcAx+AJOnlYPMfkuvpc=; h=From:To:Cc:Subject:Date:Reply-To; b=Of2frW/OuAPApgbZqsRRpTWvUXgQoA4PPUx738lVvrDXz4KtmMjW9iPs1AXvoLi5e X4ZQGDmMjoPb/bjplRotjIlfo2GMVSnZeXSO4CJpe+faz1i3GbFHIexnY2SuOEKJ2t UyzDz29OkccoPVdTVKt4tu+st2HBV2duC8xjtGL4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99889: ceph: validate encoded xattr name lengths Date: Mon, 30 Nov 2026 14:18:39 +0100 Message-ID: <2026113045-CVE-2026-99889-abeb@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3762; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vK93L8m3xqvCJ3YlDpeOYJHeiZtR7LLz6TOZLHfJkAo=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm85ZWbnB+3svexhU2Xkd6o2M55e8n96J6+sKPTq1qvC PFLvLHqiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIkk1jEs2F7gl+iqLCKf0Tq9 yWLBPJY9xflhDPPDRFokf84u02TNmXNZef9d7yVRzf4A 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: ceph: validate encoded xattr name lengths __build_xattrs() advances over an MDS-provided name length before checking that the name remains in the encoded xattr blob. On 32-bit clients, UINT_MAX wraps the cursor and is stored as a negative internal name length. A later ordinary listxattr() converts it back to a UINT_MAX memcpy size and corrupts kernel memory. Check the name range before advancing and reject name, value, or aggregate sizes that overflow the signed internal accounting. The malformed blob corrupted kernel state in two baseline boots. It was rejected cleanly twice with this change, while normal and length-only controls remained safe. The Linux kernel CVE team has assigned CVE-2026-99889 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.34 with commit 355da1eb7a1f91c276b991764e951bbcd8047599 and fixed in 5.10.275 with commit 8ece97b24aa11f56c01a3652b54b8cf3724b094d Issue introduced in 2.6.34 with commit 355da1eb7a1f91c276b991764e951bbcd8047599 and fixed in 5.15.226 with commit cd81c4e2a491c0652226369ce8109e6af348ff04 Issue introduced in 2.6.34 with commit 355da1eb7a1f91c276b991764e951bbcd8047599 and fixed in 6.1.193 with commit e2079f1bcad6f19fe690a46a90a1e4246884f767 Issue introduced in 2.6.34 with commit 355da1eb7a1f91c276b991764e951bbcd8047599 and fixed in 6.6.163 with commit b69c4acf01c46155bf5225a06e6e0a8bcdaeb8c4 Issue introduced in 2.6.34 with commit 355da1eb7a1f91c276b991764e951bbcd8047599 and fixed in 6.12.117 with commit 082e1416aab544c25fbb8e2aee95e332f6e00c43 Issue introduced in 2.6.34 with commit 355da1eb7a1f91c276b991764e951bbcd8047599 and fixed in 6.18.63 with commit 6f8082c1fb88f478826d355ec3cefc6ff09da6e1 Issue introduced in 2.6.34 with commit 355da1eb7a1f91c276b991764e951bbcd8047599 and fixed in 7.3.4 with commit 4348550560ec3af12b234e447210d71b51738b92 Issue introduced in 2.6.34 with commit 355da1eb7a1f91c276b991764e951bbcd8047599 and fixed in 7.4-rc1 with commit 166375898d29fea050a9abec855da6075050d5c9 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-99889 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/xattr.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/8ece97b24aa11f56c01a3652b54b8cf3724b094d https://git.kernel.org/stable/c/cd81c4e2a491c0652226369ce8109e6af348ff04 https://git.kernel.org/stable/c/e2079f1bcad6f19fe690a46a90a1e4246884f767 https://git.kernel.org/stable/c/b69c4acf01c46155bf5225a06e6e0a8bcdaeb8c4 https://git.kernel.org/stable/c/082e1416aab544c25fbb8e2aee95e332f6e00c43 https://git.kernel.org/stable/c/6f8082c1fb88f478826d355ec3cefc6ff09da6e1 https://git.kernel.org/stable/c/4348550560ec3af12b234e447210d71b51738b92 https://git.kernel.org/stable/c/166375898d29fea050a9abec855da6075050d5c9