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=1792756692; b=LMQALNbDrM+OxkwTVHsks4/ZNguhBB8e+x1u1TQIHYi7rwTE5Jx9ZqDgWo00RIdcQE8B L8A1FUSMpqHTGA/wADDF4O1Nn/X5JlcutKjwuS+5hy2B41BbJLC49oliWkC0v7rd02kGG nJoGc4/ykbqOnkLbQoHf17SHUtAiBV6aY2nyfhBejTj+xUOuZ3zZqrijlZkcnC5/DiHnO ofGwmeyjRac9lDmlhTDzAs84vlJJNPOIFXjmwQlYIlVQqwgz9JyzsR/+nqN4NfGXkJ+Z4 Q6GBO9aZ9yHyiDZ3Ae2OLahNNu9VQmwLx9jqNPJ13DGAP8zbRZjvc64AmENJyS4jYxA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792756692; 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=57QF7vbsi9/RJoWD/vfxyCrtSv2Tf6qPfVDiYl9JEak=; b=wUSyhmv1pFOiFZ5djy33jYiYAWf3Po37H45RZtuXbTfWnfGzgMSX3rgZeAaEJ121QtcW KZ7iW/YY7iUIJqEyFN4+b9Vinu22tGs+E3k+zF5F1WKBjvcBZ+a0vIveVqdVR0G09Vtce cuA+3x9XtKvrhoKpkCgl0bCqtpGDosyAWIncRyRpsGHHgNqL+XtsgJgq5/54Vqf5sEni3 XslEMy3xrbgOT4Ow9QPUIFeSMbeh3cO75AEZX72RtSYjqEO5WWGqn35CsOBb8OKRSSghI 8goCC3t6No8eT2uuFVx3g1Ypawrl2mHN1ph0+0R+5WedG8oaKDYsVRmt0+Vj4oOI9Pg== 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="G/6jNd4K"; 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 3E858606A31B for ; Fri, 23 Oct 2026 11:58:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=G/6jNd4K Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A8071F01829; Fri, 23 Oct 2026 11:58:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792756691; bh=57QF7vbsi9/RJoWD/vfxyCrtSv2Tf6qPfVDiYl9JEak=; h=From:To:Cc:Subject:Date:Reply-To; b=G/6jNd4KynM/CAFvrbRkWAMwZDk1NMYuTHubXtaYK65R8fy2uImsoxoH7wkacJkeR I3z50jpP4SV+CAXSlytmZLcjeuka6PMYHulatfhv6P5koLKakDCicB1RDMeiawCCpG YML+41FkgW6juenxhsq/2cb4SAbaDAaVvQ6dWRXA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98900: xen/gntalloc: validate grant count before allocation Date: Fri, 23 Oct 2026 13:54:13 +0200 Message-ID: <2026102311-CVE-2026-98900-b5bb@gregkh> X-Mailer: git-send-email 2.56.0 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=2805; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=W3gjAeZf+zYsVS2dx8DMwbx0w/mt0WwzmE9DhF0YtS8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3vZ50+gqsepk342m4SJRRy4wvXtHTPhwXL/nBeP9t2 GauZkGHjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI/JkM870jCiJWuJUVdu/T e7wk6M79frnEbwzzE25GsXuFcXOELNMJrfe2erHmqYAMAA== 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: xen/gntalloc: validate grant count before allocation gntalloc_ioctl_alloc() allocates the grant-id array before checking whether the requested count fits within the global grant limit. Counts above that limit cannot succeed, so reject them before the user-controlled allocation reaches kcalloc(). Use a subtraction-based check while holding gref_mutex so adding the requested count cannot wrap. Also cast the count before advancing the per-file index so the page-size multiplication is performed in 64-bit arithmetic. The Linux kernel CVE team has assigned CVE-2026-98900 to this issue. Affected and fixed versions =========================== Fixed in 5.10.271 with commit e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8 Fixed in 5.15.222 with commit 71a0cf87e19fb35c4292ca88985e376e613c900a Fixed in 6.1.189 with commit 641de086a05f349de7fc548612432bc2fed721ca Fixed in 6.6.158 with commit 720554c04acba80018ded069d3e0984bebaee891 Fixed in 6.12.111 with commit 84d5727cef8eb9c8a28210ad248f1c70b223b065 Fixed in 6.18.53 with commit 231542f4e43cf9837cb520664545e85fbe666b7b Fixed in 7.2 with commit 2299822f3f466b5dcad2377bf63986199f881a6b 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-98900 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: drivers/xen/gntalloc.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/e2806390aa1c4d5b3f7a68f10a56ae12c71c00d8 https://git.kernel.org/stable/c/71a0cf87e19fb35c4292ca88985e376e613c900a https://git.kernel.org/stable/c/641de086a05f349de7fc548612432bc2fed721ca https://git.kernel.org/stable/c/720554c04acba80018ded069d3e0984bebaee891 https://git.kernel.org/stable/c/84d5727cef8eb9c8a28210ad248f1c70b223b065 https://git.kernel.org/stable/c/231542f4e43cf9837cb520664545e85fbe666b7b https://git.kernel.org/stable/c/2299822f3f466b5dcad2377bf63986199f881a6b