← VULNERABILITIES

CVE-2026-99723

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

UnscoredFix available
CVSS
—
EPSS
0.18% (p8)
Published
2026-11-20
Age
14d old
Modified
2026-12-01
Product
Linux Linux

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.

Fixed in

23d142e60e3551186a4237649dfbd808780fe574 · 42aa04c60c739a45bc2f7f4123ef3e8b8150a5e7 · 441039451a19e171a1d6376b8b16e1b90316d119 · 5.10 · 5.10.276 · 5.15.226 · 5b9af57dba47a1750be4831da1f1f34c99c50caa · 6.1.193 · 6.12.118 · 6.18.64 · 6.6.163 · 7.3.5 · 77bd4305f34f65630e26a108ec98555d6aafce37 · 9e13e8eac79134fd45881c85cbea581045ff8ac1 · efd7234ce1de1559e5fa057bc22c1642c309b7ee · fd1462c96bafe2cb14e88c837b270f8990b717b5

Affected packages

EcosystemPackageRangeFixed
LinuxKernel>=5.10.0, <5.10.2765.10.276
LinuxKernel>=5.10.0, <5.15.2265.15.226
LinuxKernel>=5.10.0, <6.12.1186.12.118
LinuxKernel>=5.11.0, <5.15.2265.15.226
LinuxKernel>=5.16.0, <6.1.1936.1.193
LinuxKernel>=5.9.15, <5.105.10
LinuxKernel>=6.13.0, <6.18.646.18.64
LinuxKernel>=6.19.0, <7.3.57.3.5
LinuxKernel>=6.2.0, <6.6.1636.6.163
LinuxKernel>=6.7.0, <6.12.1186.12.118
vendorLinux>=5.9.15, <5.105.10
vendorLinux>=ad89653f79f1882d55d9df76c9b2b94f008c4e27, <23d142e60e3551186a4237649dfbd808780fe57423d142e60e3551186a4237649dfbd808780fe574
vendorLinux>=ad89653f79f1882d55d9df76c9b2b94f008c4e27, <42aa04c60c739a45bc2f7f4123ef3e8b8150a5e742aa04c60c739a45bc2f7f4123ef3e8b8150a5e7
vendorLinux>=ad89653f79f1882d55d9df76c9b2b94f008c4e27, <441039451a19e171a1d6376b8b16e1b90316d119441039451a19e171a1d6376b8b16e1b90316d119
vendorLinux>=ad89653f79f1882d55d9df76c9b2b94f008c4e27, <5b9af57dba47a1750be4831da1f1f34c99c50caa5b9af57dba47a1750be4831da1f1f34c99c50caa
vendorLinux>=ad89653f79f1882d55d9df76c9b2b94f008c4e27, <77bd4305f34f65630e26a108ec98555d6aafce3777bd4305f34f65630e26a108ec98555d6aafce37
vendorLinux>=ad89653f79f1882d55d9df76c9b2b94f008c4e27, <9e13e8eac79134fd45881c85cbea581045ff8ac19e13e8eac79134fd45881c85cbea581045ff8ac1
vendorLinux>=ad89653f79f1882d55d9df76c9b2b94f008c4e27, <efd7234ce1de1559e5fa057bc22c1642c309b7eeefd7234ce1de1559e5fa057bc22c1642c309b7ee
vendorLinux>=ad89653f79f1882d55d9df76c9b2b94f008c4e27, <fd1462c96bafe2cb14e88c837b270f8990b717b5fd1462c96bafe2cb14e88c837b270f8990b717b5

Sources

  • NVD · first seen 14d ago · NVD terms of use
  • OSV · first seen 14d ago · CC-BY 4.0
  • CVE List · first seen 14d ago · CVE Terms of Use

References

JSON