vhost-vdpa: fix pinned page leak in vhost_vdpa_pa_map() error path

Summary

CVECVE-2026-99723
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-20 06:18:09 UTC
Updated2026-11-20 06:18:09 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected ad89653f79f1882d55d9df76c9b2b94f008c4e27 441039451a19e171a1d6376b8b16e1b90316d119 git Not specified
CNA Linux Linux affected ad89653f79f1882d55d9df76c9b2b94f008c4e27 77bd4305f34f65630e26a108ec98555d6aafce37 git Not specified
CNA Linux Linux affected ad89653f79f1882d55d9df76c9b2b94f008c4e27 5b9af57dba47a1750be4831da1f1f34c99c50caa git Not specified
CNA Linux Linux affected ad89653f79f1882d55d9df76c9b2b94f008c4e27 fd1462c96bafe2cb14e88c837b270f8990b717b5 git Not specified
CNA Linux Linux affected 0d3cf1602ef0aa0177c94bf94e27759f5502c818 git Not specified
CNA Linux Linux affected 5.9.15 5.10 semver Not specified
CNA Linux Linux affected 5.10 Not specified
CNA Linux Linux unaffected 5.10 semver Not specified
CNA Linux Linux unaffected 6.12.118 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.64 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.5 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/77bd4305f34f65630e26a108ec98555d6aafce37 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fd1462c96bafe2cb14e88c837b270f8990b717b5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/441039451a19e171a1d6376b8b16e1b90316d119 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5b9af57dba47a1750be4831da1f1f34c99c50caa 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report