SecurityContext

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:
Url
https://git.kernel.org/stable/c/16d3ccdabb8dee9be2cdcd6d3f9a125572ec0454
https://git.kernel.org/stable/c/18a693733f7ad004e1ab0466693121ca70cd95dd
https://git.kernel.org/stable/c/1dd9cb98fe228e017fff9efb33862ff38c741b65
https://git.kernel.org/stable/c/311011f8cc206c5af2877b03e3f627ee1b8fe024
https://git.kernel.org/stable/c/45ca1afe2fd14c04e37227e79d3f8455831d8408
https://git.kernel.org/stable/c/52dc40ef0cfee6ae89b7524967e73f0ba37906d7
https://git.kernel.org/stable/c/6883269a323609f68f6faa903f8f8ff3d191cec8
https://git.kernel.org/stable/c/6df926130aee6cab9b5d2e5b7862e49ccac348dc

Products

ProductAffectedPlatform boundSourcesUrl
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.261nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/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