CVE-2026-99723
vhost-vdpa: fix pinned page leak in vhost_vdpa_pa_map() error path
What happened?
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.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: ad89653f79f1882d55d9df76c9b2b94f008c4e27 to < efd7234ce1de1559e5fa057bc22c1642c309b7ee; affected: ad89653f79f1882d55d9df76c9b2b94f008c4e27 to < 23d142e60e3551186a4237649dfbd808780fe574; affected: ad89653f79f1882d55d9df76c9b2b94f008c4e27 to < 42aa04c60c739a45bc2f7f4123ef3e8b8150a5e7; affected: ad89653f79f1882d55d9df76c9b2b94f008c4e27 to < 9e13e8eac79134fd45881c85cbea581045ff8ac1; affected: ad89653f79f1882d55d9df76c9b2b94f008c4e27 to < 441039451a19e171a1d6376b8b16e1b90316d119; affected: ad89653f79f1882d55d9df76c9b2b94f008c4e27 to < 77bd4305f34f65630e26a108ec98555d6aafce37; affected: ad89653f79f1882d55d9df76c9b2b94f008c4e27 to < 5b9af57dba47a1750be4831da1f1f34c99c50caa; affected: ad89653f79f1882d55d9df76c9b2b94f008c4e27 to < fd1462c96bafe2cb14e88c837b270f8990b717b5; affected: 0d3cf1602ef0aa0177c94bf94e27759f5502c818; affected: 5.9.15 to < 5.10 | See vendor advisory |
| LinuxLinux | affected: 5.10; unaffected: 0 to < 5.10; unaffected: 5.10.276 to ≤ 5.10.*; unaffected: 5.15.226 to ≤ 5.15.*; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc2 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-99723
- https://git.kernel.org/stable/c/efd7234ce1de1559e5fa057bc22c1642c309b7ee
- https://git.kernel.org/stable/c/23d142e60e3551186a4237649dfbd808780fe574
- https://git.kernel.org/stable/c/42aa04c60c739a45bc2f7f4123ef3e8b8150a5e7
- https://git.kernel.org/stable/c/9e13e8eac79134fd45881c85cbea581045ff8ac1
- 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