CVE-2026-72138: Linux Kernel xen/gntdev - Memory Leak
- Cve: CVE-2026-72138
- Name: Linux Kernel xen/gntdev - Memory Leak
- 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.
- Impact: Attackers can cause memory leaks and resource exhaustion, potentially leading to denial of service.
- Remediation: Update to the latest Linux kernel version containing the fix.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Cvss vector: N/A
- Epss score: 0.00216
- Epss percentile: 0.12099
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2026-08-15T06:21:31Z
- Age in days: 101
- Modified at: 2026-11-06T17:19:37Z
- Patch available: yes
- References total: 8
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-72138
- Nvd status: received
- Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, severity, cvss score, hackerone
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | >= 2.6.39, < 7.2; >= 2.6.39, < 7.1.5; >= 2.6.39, < 6.18.40; >= 2.6.39, < 6.12.97; >= 2.6.39, < 6.6.145; >= 2.6.39, < 6.1.178; >= 2.6.39, < 5.15.212; >= 2.6.39, < 5.10.261 | no | cna | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports