{"id":"CVE-2026-68240","aliases":["CVE-2026-68240"],"related":[],"kind":"vulnerability","state":"published","title":"drm/gpusvm: publish dpagemap early to avoid device mapping leak on error","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-10T12:01:05.810Z","modified":"2026-11-30T16:13:21.673Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9","fixed":"e8362523fd1b61712f7d996802f9b5dee545c7e6","status":"affected"},{"type":"git","introduced":"f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9","fixed":"72e4fca5529e45b5beebad79d804de442f632324","status":"affected"},{"type":"git","introduced":"f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9","fixed":"7f708f51e3955bda0d77a0b67ab9bea6c97fea99","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.44","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e8362523fd1b61712f7d996802f9b5dee545c7e6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/72e4fca5529e45b5beebad79d804de442f632324","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f708f51e3955bda0d77a0b67ab9bea6c97fea99","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:46:05.252Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68240","url":"https://www.cve.org/CVERecord?id=CVE-2026-68240","licence":"CVE Terms of Use","modified":"2026-10-19T20:58:57.805Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68240","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68240","licence":"Public domain","modified":"2026-11-30T16:13:21.673Z"}],"updatedAt":"2026-11-30T16:17:26.156Z","epss":{"score":0.00173,"percentile":0.03965,"date":"2026-11-30T12:00:22.000Z"}}