{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-68240","id":"CVE-2026-68240","title":"drm/gpusvm: publish dpagemap early to avoid device mapping leak on error","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gpusvm: publish dpagemap early to avoid device mapping leak on error\n\ndrm_gpusvm_get_pages() only stored the local dpagemap into\nsvm_pages->dpagemap on the success path. If a later page failed (e.g.\n-EOPNOTSUPP when ctx->allow_mixed is false) and jumped to err_unmap,\nsvm_pages->dpagemap was still NULL, so __drm_gpusvm_unmap_p","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gpusvm: publish dpagemap early to avoid device mapping leak on error\n\ndrm_gpusvm_get_pages() only stored the local dpagemap into\nsvm_pages->dpagemap on the success path. If a later page failed (e.g.\n-EOPNOTSUPP when ctx->allow_mixed is false) and jumped to err_unmap,\nsvm_pages->dpagemap was still NULL, so __drm_gpusvm_unmap_pages() skipped\ndevice_unmap() and leaked the device mappings already created.\n\nAssign svm_pages->dpagemap when the first device page is mapped so the\nerr_unmap path can device_unmap() those mappings.\n\nThis issue was found by Sashiko AI review.","published":"2026-08-10T12:01:05.810Z","updated":"2026-10-28T02:30:34.901935279Z","reserved":"2026-07-30T09:28:09.376Z","status":"Received","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9","lessThan":"e8362523fd1b61712f7d996802f9b5dee545c7e6","status":"affected","versionType":"git"},{"version":"f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9","lessThan":"72e4fca5529e45b5beebad79d804de442f632324","status":"affected","versionType":"git"},{"version":"f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9","lessThan":"7f708f51e3955bda0d77a0b67ab9bea6c97fea99","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","lessThan":"6.18","status":"unaffected","versionType":"semver"},{"version":"6.18.44","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.6","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/e8362523fd1b61712f7d996802f9b5dee545c7e6","tags":["web"]},{"url":"https://git.kernel.org/stable/c/72e4fca5529e45b5beebad79d804de442f632324","tags":["web"]},{"url":"https://git.kernel.org/stable/c/7f708f51e3955bda0d77a0b67ab9bea6c97fea99","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68240.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68240","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00167,"epssPercentile":0.06054,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-68240","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68240","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-68240","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-68240","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}