CVE-2026-99723

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

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ad89653f79f1882d55d9df76c9b2b94f008c4e27 to before 441039451a19e171a1d6376b8b16e1b90316d119Affected
  • ad89653f79f1882d55d9df76c9b2b94f008c4e27 to before 77bd4305f34f65630e26a108ec98555d6aafce37Affected
  • ad89653f79f1882d55d9df76c9b2b94f008c4e27 to before 5b9af57dba47a1750be4831da1f1f34c99c50caaAffected
  • ad89653f79f1882d55d9df76c9b2b94f008c4e27 to before fd1462c96bafe2cb14e88c837b270f8990b717b5Affected
  • 0d3cf1602ef0aa0177c94bf94e27759f5502c818Affected
  • 5.9.15 to before 5.10Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.