{"id":"CVE-2026-68240","published":"2026-08-10T12:01:05Z","modified":"2026-10-19T20:58:57Z","title":"drm/gpusvm: publish dpagemap early to avoid device mapping leak on error","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00167,"percentile":0.06054,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/e8362523fd1b61712f7d996802f9b5dee545c7e6","tags":[]},{"url":"https://git.kernel.org/stable/c/72e4fca5529e45b5beebad79d804de442f632324","tags":[]},{"url":"https://git.kernel.org/stable/c/7f708f51e3955bda0d77a0b67ab9bea6c97fea99","tags":[]}],"priority":{"score":7.4,"factors":[{"name":"EPSS percentile","points":1.21},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9, < e8362523fd1b61712f7d996802f9b5dee545c7e6",">= f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9, < 72e4fca5529e45b5beebad79d804de442f632324",">= f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9, < 7f708f51e3955bda0d77a0b67ab9bea6c97fea99"]},{"vendor":"Linux","product":"Linux","versions":["6.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:46:05.252837Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-55341","exploited":false,"provenance":"source"}}