CVE-2026-68240
drm/gpusvm: publish dpagemap early to avoid device mapping leak on error
Reported by linux · Published August 10, 2026
In the Linux kernel, the following vulnerability has been resolved: drm/gpusvm: publish dpagemap early to avoid device mapping leak on error drm_gpusvm_get_pages() only stored the local dpagemap into svm_pages->dpagemap on the success path. If a later page failed (e.g. -EOPNOTSUPP when ctx->allow_mixed is false) and jumped to err_unmap, svm_pages->dpagemap was still NULL, so __drm_gpusvm_unmap_pages() skipped device_unmap() and leaked the device mappings already created. Assign svm_pages->dpagemap when the first device page is mapped so the err_unmap path can device_unmap() those mappings. This issue was found by Sashiko AI review.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | e8362523fd1b61712f7d996802f9b5dee545c7e6, 7f708f51e3955bda0d77a0b67ab9bea6c97fea99, 72e4fca5529e45b5beebad79d804de442f632324 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9, f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9, f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9 |
| Linux | Linux | 6.18, 0, 6.18.44 |
| Linux | Linux | 7.2, 0, 6.18.44 |
| linux | linux_kernel | 6.18, 6.18, 6.18 |
Timeline
- Aug 10, 2026 CVE Published
- Aug 11, 2026 Coalition ESS Score
- Aug 16, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (12 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-68240
vulnetix vdb fixes CVE-2026-68240
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68240/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart