CVE-2026-72138
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
xen/gntdev: fix error handling in ioctl
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 68b025c813c2eb41ff25628e3d4952d5185eb1a4 | affected | git | 52dc40ef0cfee6ae89b7524967e73f0ba37906d7 | Unavailable | None listed |
| 68b025c813c2eb41ff25628e3d4952d5185eb1a4 | affected | git | 1dd9cb98fe228e017fff9efb33862ff38c741b65 | Unavailable | None listed |
| 68b025c813c2eb41ff25628e3d4952d5185eb1a4 | affected | git | 6df926130aee6cab9b5d2e5b7862e49ccac348dc | Unavailable | None listed |
| 68b025c813c2eb41ff25628e3d4952d5185eb1a4 | affected | git | 311011f8cc206c5af2877b03e3f627ee1b8fe024 | Unavailable | None listed |
| 68b025c813c2eb41ff25628e3d4952d5185eb1a4 | affected | git | 18a693733f7ad004e1ab0466693121ca70cd95dd | Unavailable | None listed |
| 68b025c813c2eb41ff25628e3d4952d5185eb1a4 | affected | git | 16d3ccdabb8dee9be2cdcd6d3f9a125572ec0454 | Unavailable | None listed |
| 68b025c813c2eb41ff25628e3d4952d5185eb1a4 | affected | git | 6883269a323609f68f6faa903f8f8ff3d191cec8 | Unavailable | None listed |
| 68b025c813c2eb41ff25628e3d4952d5185eb1a4 | affected | git | 45ca1afe2fd14c04e37227e79d3f8455831d8408 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 2.6.39 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 2.6.39 | Unavailable | None listed |
| 5.10.261 | unaffected | semver | Unavailable | 5.10.* | None listed |
| 5.15.212 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 6.1.178 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.145 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.12.97 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.18.40 | unaffected | semver | Unavailable | 6.18.* | None listed |
| 7.1.5 | unaffected | semver | Unavailable | 7.1.* | None listed |
| 7.2 | unaffected | original_commit_for_fix | Unavailable | * | None listed |