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=1795154377; b=nGmuPOLL014TWH4WEi8GM2skCfgGn/AOIEc4/2ZyxQs0ZUxslqfDIqRVVonQlf26PmVj ik14YG+e9rIFgwHTwt1vcznlVEnpvI7UnmgOcPg415bbFJeRWl38/MQ+DrcLKtUAr8u76 HNzCHTWqNFrJmHYRVps6HSYGA3tnmHk39EpDKgO24asoRW0S4fBljKn8VjUf27q4hFy5R btyLD/aG60fxJEDyvzK0GtVRgy37wIGRimq8bI+wJc5Rc02ZUuxj9hT5Yuj/bUpjH3aQF TY2fHknHwcrOuy1GtUzpAGkQdLvR00qmNfwkUyDt+q0MA9ZPiZiwCdKxcHAqmmwmu2A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154377; 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=7SwDxB+wUXjAIgc1FBx9/kgatqbjj+CYqhF4XcSCKvc=; b=2IeYDVL5oC5wU7E+UPwPiEUkNMaRsq7Xxg3WHh9OjrTRjA06CszOos8p+FdtJmqmjQ+J 56gB+8Kj5SNjqT3wclCS7Pc3jUiOBTNwNszVoYPOD03/SQ6vLxcGrYZYgDrmLmGTcOfRf oYsDpHZLkiYehfEXfkhGjkyR/dAvAeZHPN4vB7qTYKwTC54+fCiZijkM98H4a5IqemKvj BNJBx5LTdBLQem23yj55N/SouW7MXflzLwDVqT/4KLNH+IfWxaiH//011DyQthZPKYerl r9p2RRXY8B7u6RarTsefZpTNcu1Nz0bRsVsvPCzs9QoL3Y211b8lFEPDG1xZ0gougkg== 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=RQ9bcd0G; 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 B23E6606A33E for ; Fri, 20 Nov 2026 05:59:37 +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=RQ9bcd0G Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB1771F000C6; Fri, 20 Nov 2026 05:59:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154377; bh=7SwDxB+wUXjAIgc1FBx9/kgatqbjj+CYqhF4XcSCKvc=; h=From:To:Cc:Subject:Date:Reply-To; b=RQ9bcd0GNbvHPKD6d6EaR0G+Vug4Z+M6taDtWU2Mb6zpaYRh/E9JMQJxmuAzxFcoK p+qEN6dBAZRVJeqlDYV4UMeK3HgZs7jtyFBbKDNvpDd/n62osH2hS6vPo7p3XQx6nF RafWeBEhcSh7zi7AZEavSWG/T1SByiRyWFvTeH7E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99723: vhost-vdpa: fix pinned page leak in vhost_vdpa_pa_map() error path Date: Fri, 20 Nov 2026 06:51:49 +0100 Message-ID: <2026112011-CVE-2026-99723-540e@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=2985; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=60GNOelSYtVpCGD0+miDFHimFAixsMyX9rOww1G5EZs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/70/+7PAlKudTRq2ry5vCe5r8tQ/q3szdt/VIAD/j9 MpvTLJKHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRE98ZFhx8o9Iu5OK35AGz 9Ocp4QFfHgUl/GSYpxBY6hW/8ZXZ1KC1XFEsyaecFi6aCAA= 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: vhost-vdpa: fix pinned page leak in vhost_vdpa_pa_map() error path When pin_user_pages() or vhost_vdpa_map() fails, vhost_vdpa_pa_map() is supposed to unpin the pages pinned after the last successfully mapped chunk, i.e. the range [map_pfn, last_pfn]. The unpin is guarded by nchunks, but nchunks is reset to 0 every time a chunk is mapped from inside the current page list, so a failure after any such boundary leaves that pending range pinned forever. With physically scattered memory nearly every page list contains a boundary, so the leak happens on practically every failed IOTLB update. The pending range is non-empty exactly when a page has been pinned, which last_pfn already tells us, so drop nchunks and test last_pfn. The Linux kernel CVE team has assigned CVE-2026-99723 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit ad89653f79f1882d55d9df76c9b2b94f008c4e27 and fixed in 6.12.118 with commit 441039451a19e171a1d6376b8b16e1b90316d119 Issue introduced in 5.10 with commit ad89653f79f1882d55d9df76c9b2b94f008c4e27 and fixed in 6.18.64 with commit 77bd4305f34f65630e26a108ec98555d6aafce37 Issue introduced in 5.10 with commit ad89653f79f1882d55d9df76c9b2b94f008c4e27 and fixed in 7.3.5 with commit 5b9af57dba47a1750be4831da1f1f34c99c50caa Issue introduced in 5.10 with commit ad89653f79f1882d55d9df76c9b2b94f008c4e27 and fixed in 7.4-rc2 with commit fd1462c96bafe2cb14e88c837b270f8990b717b5 Issue introduced in 5.9.15 with commit 0d3cf1602ef0aa0177c94bf94e27759f5502c818 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-99723 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/vhost/vdpa.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/441039451a19e171a1d6376b8b16e1b90316d119 https://git.kernel.org/stable/c/77bd4305f34f65630e26a108ec98555d6aafce37 https://git.kernel.org/stable/c/5b9af57dba47a1750be4831da1f1f34c99c50caa https://git.kernel.org/stable/c/fd1462c96bafe2cb14e88c837b270f8990b717b5