CVE-2026-72138xen/gntdev: fix error handling in ioctl
- —Not scoredno CVSS score yet
- 0.22%Exploitation in 30 daysEPSS · top 88% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: xen/gntdev: fix error handling in ioctl When gntdev_ioctl_map_grant_ref() fails to copy the operation result back to userspace after successfully adding the mapping to the list, the error path returns -EFAULT without releasing the reference acquired by gntdev_alloc_map(). The mapping remains in priv->maps with a refcount of 1, causing a memory leak and a dangling list entry. Additionally, gntdev_add_map() may modify map->index to avoid overlap with existing mappings. Therefore, the index returned to userspace must be obtained after gntdev_add_map() completes. Fix this by holding the mutex across gntdev_add_map(), retrieving the correct index, and copy_to_user(). If copy_to_user() fails, remove the mapping from the list and release the reference while still holding the lock. Fix these issues by properly handling all error cases.
Timeline
ID reserved
By Linux
- 6 days later
· 6 days later
Published
- 3 months later
· 3 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
No CVSS score yet: neither the CNA, CISA nor NVD has scored this CVE. NVD status: Received.
- EPSS (exploitation in 30 days)
- 0.22% · top 88% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Not scored.
Affected products
- affected 68b025c813c2eb41ff25628e3d4952d5185eb1a4 – < 52dc40ef0cfee6ae89b7524967e73f0ba37906d7
- affected 68b025c813c2eb41ff25628e3d4952d5185eb1a4 – < 1dd9cb98fe228e017fff9efb33862ff38c741b65
- affected 68b025c813c2eb41ff25628e3d4952d5185eb1a4 – < 6df926130aee6cab9b5d2e5b7862e49ccac348dc
- affected 68b025c813c2eb41ff25628e3d4952d5185eb1a4 – < 311011f8cc206c5af2877b03e3f627ee1b8fe024
- affected 68b025c813c2eb41ff25628e3d4952d5185eb1a4 – < 18a693733f7ad004e1ab0466693121ca70cd95dd
- affected 68b025c813c2eb41ff25628e3d4952d5185eb1a4 – < 16d3ccdabb8dee9be2cdcd6d3f9a125572ec0454
- affected 68b025c813c2eb41ff25628e3d4952d5185eb1a4 – < 6883269a323609f68f6faa903f8f8ff3d191cec8
- affected 68b025c813c2eb41ff25628e3d4952d5185eb1a4 – < 45ca1afe2fd14c04e37227e79d3f8455831d8408
- affected 2.6.39
- unaffected < 2.6.39
- unaffected 5.10.261 – ≤ 5.10.*
- unaffected 5.15.212 – ≤ 5.15.*
- unaffected 6.1.178 – ≤ 6.1.*
- unaffected 6.6.145 – ≤ 6.6.*
- unaffected 6.12.97 – ≤ 6.12.*
- unaffected 6.18.40 – ≤ 6.18.*
- unaffected 7.1.5 – ≤ 7.1.*
- unaffected 7.2 – ≤ *
References
References8
- https://git.kernel.org/stable/c/52dc40ef0cfee6ae89b7524967e73f0ba37906d7 (opens in a new tab)
- https://git.kernel.org/stable/c/1dd9cb98fe228e017fff9efb33862ff38c741b65 (opens in a new tab)
- https://git.kernel.org/stable/c/6df926130aee6cab9b5d2e5b7862e49ccac348dc (opens in a new tab)
- https://git.kernel.org/stable/c/311011f8cc206c5af2877b03e3f627ee1b8fe024 (opens in a new tab)
- https://git.kernel.org/stable/c/18a693733f7ad004e1ab0466693121ca70cd95dd (opens in a new tab)
- https://git.kernel.org/stable/c/16d3ccdabb8dee9be2cdcd6d3f9a125572ec0454 (opens in a new tab)
- https://git.kernel.org/stable/c/6883269a323609f68f6faa903f8f8ff3d191cec8 (opens in a new tab)
- https://git.kernel.org/stable/c/45ca1afe2fd14c04e37227e79d3f8455831d8408 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-58896 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-72138)Record last updated .