Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EBB5C339B43 for ; Wed, 24 Dec 2025 13:08:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581718; cv=none; b=aSXZrsdCl37am4YVNYtZ4Pj4Oin6SjH2X+jHQALR+84JpyE0pfnVcdaIWp8l/CkkCf6v1iVoJpdpvTF4Hnypx3WuhOVFlxobUQJucRkY7j6J6LRRuNe9m625ACNfL/06V97kkkuR+qWB/hhl13e11DJsSu3p0JJ6Wo23W1VcyR8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581718; c=relaxed/simple; bh=2nw4N0s4TmkfjWhzv1pAWf54hFodgoajg05muIVeV6g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Y7YD4F6Rtpvph5il+O04hk7OtvVgTwgLCDUM2KQ6JQ/os83D1Jsf89/4/GcYGYib42rQ47TFI1Y0puZdI7zHSzMhI5y7c0rUO1P2YfMXE7gJJkTbqhHKdYNNBgeYhTTR6+JJeBV3gZxO635w2+9aH71KEFZuenek/R1hak3tmvM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=icPhLU2h; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="icPhLU2h" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77D64C116D0; Wed, 24 Dec 2025 13:08:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581717; bh=2nw4N0s4TmkfjWhzv1pAWf54hFodgoajg05muIVeV6g=; h=From:To:Cc:Subject:Date:Reply-To:From; b=icPhLU2hWpruge3bTAx0GK45hOf4Aah2eKoVZGLo+b1VJYXjEF3VGnRszZjyGUd7c JCsUrrXi/y+yADlTGqBKIBj7b86Y76cPk4W//kZUdht42QT90efQvHokDhWw4D3FSR 1xSwdeATQUMCzQemjft5S+ztgbLB7j4UUerDxGJs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54081: xen: speed up grant-table reclaim Date: Wed, 24 Dec 2025 14:06:38 +0100 Message-ID: <2025122403-CVE-2023-54081-3fc3@gregkh> X-Mailer: git-send-email 2.52.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=2600; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gZbVLWPruD73tFbul4/bZf3k3bRcSbkpcJBucDNn7GA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneT63XvDBd/nOT1qWyB28rPDuYfSMb7yqLTS23D2h01 9FZzFrTEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNZ/pRhweVqf+WtBY4bLXbV Jy+evqHUTXj3bIYFy2Ysfaj4Yd8Btq3/V2WEvHjfeKbgAAA= 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: speed up grant-table reclaim When a grant entry is still in use by the remote domain, Linux must put it on a deferred list. Normally, this list is very short, because the PV network and block protocols expect the backend to unmap the grant first. However, Qubes OS's GUI protocol is subject to the constraints of the X Window System, and as such winds up with the frontend unmapping the window first. As a result, the list can grow very large, resulting in a massive memory leak and eventual VM freeze. To partially solve this problem, make the number of entries that the VM will attempt to free at each iteration tunable. The default is still 10, but it can be overridden via a module parameter. This is Cc: stable because (when combined with appropriate userspace changes) it fixes a severe performance and stability problem for Qubes OS users. The Linux kernel CVE team has assigned CVE-2023-54081 to this issue. Affected and fixed versions =========================== Fixed in 6.1.43 with commit cd1a8952ff529adc210e62306849fd6f256608c0 Fixed in 6.4.8 with commit c76d96c555895ac602c1587b001e5cf656abc371 Fixed in 6.5 with commit c04e9894846c663f3278a414f34416e6e45bbe68 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-2023-54081 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: Documentation/ABI/testing/sysfs-module drivers/xen/grant-table.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/cd1a8952ff529adc210e62306849fd6f256608c0 https://git.kernel.org/stable/c/c76d96c555895ac602c1587b001e5cf656abc371 https://git.kernel.org/stable/c/c04e9894846c663f3278a414f34416e6e45bbe68