CVE-2026-68240

Source
https://cve.org/CVERecord?id=CVE-2026-68240
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68240.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68240
Downstream
Published
2026-08-10T12:01:05.810Z
Modified
2026-08-18T03:30:50.211024354Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
drm/gpusvm: publish dpagemap early to avoid device mapping leak on error
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/gpusvm: publish dpagemap early to avoid device mapping leak on error

drmgpusvmgetpages() only stored the local dpagemap into svmpages->dpagemap on the success path. If a later page failed (e.g. -EOPNOTSUPP when ctx->allowmixed is false) and jumped to errunmap, svm_pages->dpagemap was still NULL, so __drmgpusvmunmappages() skipped deviceunmap() and leaked the device mappings already created.

Assign svmpages->dpagemap when the first device page is mapped so the errunmap path can device_unmap() those mappings.

This issue was found by Sashiko AI review.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68240.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9
Fixed
e8362523fd1b61712f7d996802f9b5dee545c7e6
Fixed
72e4fca5529e45b5beebad79d804de442f632324
Fixed
7f708f51e3955bda0d77a0b67ab9bea6c97fea99

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68240.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.18.0
Fixed
6.18.44
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68240.json"