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 9980C3EDE4E for ; Wed, 27 May 2026 12:23:43 +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=1779884624; cv=none; b=ZWl38Yu5G4zKYI0cYlPjHYBQdDyHVtbmLbjNI3g5XHhGg89bVWys7kKYI49krR7FXYRevdwv9w/7o5iQcXiyHDiKjHf/pXUc5nggpAdZWyssz0gq2jYqDXE/BssfNQS9StoEbR/s1QVBIOZEXU/2IYLI4hCVR0Xo72QahtFoU94= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884624; c=relaxed/simple; bh=37AfBS44dVCP1Rhp/I/trdb9FC45UAOMVABldyZCsUQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ql0cvY6wtk+nlRNzKPErfq832mZs6V57owu/TbtoYo450AtJpp7r56NNXPw91tb+krMBn0I3z3DNrHAJjXMJwpm3NtTBntdnPNS994L/n5+TR/DWOF9W72sqgebWOsPfvEZMndDakKsHHUEh4lLlNpuJVXjTBH/ma7a9U/f3Wvw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=erOx09w9; 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="erOx09w9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8E8A1F000E9; Wed, 27 May 2026 12:23:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884623; bh=o4pPS0GcS+UN/ddUeLxSlAdOntYwUp4NOTROQZtAn0I=; h=From:To:Cc:Subject:Date:Reply-To; b=erOx09w9kLAgHVFH9GYF8cTp1osVHMvDXoUMOWo7n1K0zZ/Rzrfn1Jw34BpEHYyQP puxEFvksZE9xwLUv/NEIXMCmRdht+2BK2zg/Bzem0mZFLeMsSOjssebTRflNk0K9B8 eKDDWOcUPbWax/IEl6ifddUsb+yKL0QjOCCQSrYY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45890: xen-netback: reject zero-queue configuration from guest Date: Wed, 27 May 2026 14:18:52 +0200 Message-ID: <2026052717-CVE-2026-45890-a18a@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=3850; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=H5qDNH/qqfnGqf/Ct87tcm38FSsj4zaW0GzKjQQEcTs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliDzn5LNTCrx2+vKe5QyWm57W0U49VQ9Ik5Uw21nkFp 68HCUh0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwESspjEsmHjcx/vSCh+llM73 Sb/4EznSm1OyGBZcENnSclD12807RatY3aLW3djqYSsKAA== 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-netback: reject zero-queue configuration from guest A malicious or buggy Xen guest can write "0" to the xenbus key "multi-queue-num-queues". The connect() function in the backend only validates the upper bound (requested_num_queues > xenvif_max_queues) but not zero, allowing requested_num_queues=0 to reach vzalloc(array_size(0, sizeof(struct xenvif_queue))), which triggers WARN_ON_ONCE(!size) in __vmalloc_node_range(). On systems with panic_on_warn=1, this allows a guest-to-host denial of service. The Xen network interface specification requires the queue count to be "greater than zero". Add a zero check to match the validation already present in xen-blkback, which has included this guard since its multi-queue support was added. The Linux kernel CVE team has assigned CVE-2026-45890 to this issue. Affected and fixed versions =========================== Issue introduced in 3.16 with commit 8d3d53b3e43363e79ab9a9ecc149b06c1314b25d and fixed in 5.10.252 with commit 2993e0f904c45f8af12917344bb1cac7ccd05a60 Issue introduced in 3.16 with commit 8d3d53b3e43363e79ab9a9ecc149b06c1314b25d and fixed in 5.15.202 with commit 787bfa423228c4b02ba3368128f625d579085353 Issue introduced in 3.16 with commit 8d3d53b3e43363e79ab9a9ecc149b06c1314b25d and fixed in 6.1.165 with commit ce66d6786de45b7ed9cbbdc0988054bf09e58f54 Issue introduced in 3.16 with commit 8d3d53b3e43363e79ab9a9ecc149b06c1314b25d and fixed in 6.6.128 with commit 88b0fced1bbbfdb356a007592604008ffc93a6a1 Issue introduced in 3.16 with commit 8d3d53b3e43363e79ab9a9ecc149b06c1314b25d and fixed in 6.12.75 with commit ec4859ac5c933e3315543a61adc1ca4358006a41 Issue introduced in 3.16 with commit 8d3d53b3e43363e79ab9a9ecc149b06c1314b25d and fixed in 6.18.14 with commit 654780dee9eae419e1648ea58462c4efe54518fa Issue introduced in 3.16 with commit 8d3d53b3e43363e79ab9a9ecc149b06c1314b25d and fixed in 6.19.4 with commit d99f69ddc70fd9f4b8148add62209a1a8eb5c615 Issue introduced in 3.16 with commit 8d3d53b3e43363e79ab9a9ecc149b06c1314b25d and fixed in 7.0 with commit 6d1dc8014334c7fb25719999bca84d811e60a559 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-45890 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/net/xen-netback/xenbus.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/2993e0f904c45f8af12917344bb1cac7ccd05a60 https://git.kernel.org/stable/c/787bfa423228c4b02ba3368128f625d579085353 https://git.kernel.org/stable/c/ce66d6786de45b7ed9cbbdc0988054bf09e58f54 https://git.kernel.org/stable/c/88b0fced1bbbfdb356a007592604008ffc93a6a1 https://git.kernel.org/stable/c/ec4859ac5c933e3315543a61adc1ca4358006a41 https://git.kernel.org/stable/c/654780dee9eae419e1648ea58462c4efe54518fa https://git.kernel.org/stable/c/d99f69ddc70fd9f4b8148add62209a1a8eb5c615 https://git.kernel.org/stable/c/6d1dc8014334c7fb25719999bca84d811e60a559