Xen/gnttab: improve error handling in gnttab_dma_{alloc,free}_pages()

Summary

CVECVE-2026-143185
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 10:17:54 UTC
Updated2026-12-03 10:17:54 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: Xen/gnttab: improve error handling in gnttab_dma_{alloc,free}_pages() Both decrease-reservation and populate-physmap can succeed partially. For the former this may be pretty unlikely, but clearly the latter can hit both out-of-memory conditions in the hypervisor or denial because of the allocation exceeding the domain's allowance (there's no interaction with the balloon driver here either). In gnttab_dma_free_pages() we simply can't give back to the system what hasn't been re-filled with backing memory. For gnttab_dma_alloc_pages() both parts of the overall region need dealing with differently. While no present caller of gnttab_dma_free_pages() checks its return value, also don't use -EFAULT there: It really is an out-of-memory condition. (In gnttab_dma_alloc_pages() -EFAULT doesn't look quite right either, but I couldn't think of a clearly better error code there.)

Risk And Classification

EPSS: 0.002150000 probability, percentile 0.126100000 (date 2026-12-03)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 b698e22b3db1ea263db29ab32ca14a134cfa2bb0 git Not specified
CNA Linux Linux affected 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 de3a48f4db7610aa5df8e08838285317f4b40c82 git Not specified
CNA Linux Linux affected 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 4e2ce0ed4032aeb7b6f8c6b75b48bca537ed8205 git Not specified
CNA Linux Linux affected 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 fa60c9c122aafc06dff48f451ad550630587a0bb git Not specified
CNA Linux Linux affected 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 8cf0bde5988c8a5550dbfaf2959cf60ddd4a2220 git Not specified
CNA Linux Linux affected 9bdc7304f536f3f77f0a69e7c3a8f5afda561a68 2b66f2cc753243a6adb3e9a5c038b0fc59ba7ec9 git Not specified
CNA Linux Linux affected 4.19 Not specified
CNA Linux Linux unaffected 4.19 semver Not specified
CNA Linux Linux unaffected 5.10.276 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.227 5.15.* semver Not specified
CNA Linux Linux unaffected 6.12.120 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.66 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.7 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/8cf0bde5988c8a5550dbfaf2959cf60ddd4a2220 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/de3a48f4db7610aa5df8e08838285317f4b40c82 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fa60c9c122aafc06dff48f451ad550630587a0bb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b698e22b3db1ea263db29ab32ca14a134cfa2bb0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4e2ce0ed4032aeb7b6f8c6b75b48bca537ed8205 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2b66f2cc753243a6adb3e9a5c038b0fc59ba7ec9 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