CVE-2026-72138
Last modified
CVE-2026-72138 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 68b025c813c2eb41ff25628e3d4952d5185eb1a4, < 52dc40ef0cfee6ae89b7524967e73f0ba37906d7; >= 68b025c813c2eb41ff25628e3d4952d5185eb1a4, < 1dd9cb98fe228e017fff9efb33862ff38c741b65; >= 68b025c813c2eb41ff25628e3d4952d5185eb1a4, < 6df926130aee6cab9b5d2e5b7862e49ccac348dc; >= 68b025c813c2eb41ff25628e3d4952d5185eb1a4, < 311011f8cc206c5af2877b03e3f627ee1b8fe024; >= 68b025c813c2eb41ff25628e3d4952d5185eb1a4, < 18a693733f7ad004e1ab0466693121ca70cd95dd; >= 68b025c813c2eb41ff25628e3d4952d5185eb1a4, < 16d3ccdabb8dee9be2cdcd6d3f9a125572ec0454; >= 68b025c813c2eb41ff25628e3d4952d5185eb1a4, < 6883269a323609f68f6faa903f8f8ff3d191cec8; >= 68b025c813c2eb41ff25628e3d4952d5185eb1a4, < 45ca1afe2fd14c04e37227e79d3f8455831d8408 |
| Linux | Linux | 2.6.39 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-72138?
How severe is CVE-2026-72138?
How do I fix CVE-2026-72138?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-72132In the Linux kernel, the following vulnerability has been re…
- CVE-2026-72133In the Linux kernel, the following vulnerability has been re…8.4
- CVE-2026-72134In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-72135In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-72136In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-72137In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-72139In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-7214A vulnerability was identified in eghuzefa engineer-your-dat…7.3
- CVE-2026-72140In the Linux kernel, the following vulnerability has been re…
- CVE-2026-72141In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-72142In the Linux kernel, the following vulnerability has been re…
- CVE-2026-72143In the Linux kernel, the following vulnerability has been re…7.1
Are you affected by CVE-2026-72138?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
