Vulnerability details

CVE-2026-68240

Linux Linux

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

CVSS 3.1
8.8High

Official description

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.

CVSS scores

ScoreVersionSourceVector
8.8High 3.1 CVEProject cvelistV5 (CNA) (Linux) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
Linux Linux 6.18 CVEProject cvelistV5 (CNA)
Linux Linux f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9 ≤ v < e8362523fd1b61712f7d996802f9b5dee545c7e6 CVEProject cvelistV5 (CNA)
Linux Linux f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9 ≤ v < 72e4fca5529e45b5beebad79d804de442f632324 CVEProject cvelistV5 (CNA)
Linux Linux f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9 ≤ v < 7f708f51e3955bda0d77a0b67ab9bea6c97fea99 CVEProject cvelistV5 (CNA)

References and advisories

3
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-08-10
Last updated
2026-10-20
State
Published
Assigner (CNA)
Linux

Exploit prediction (EPSS)

0.16%
Probability of exploitation in 30 days
5.4%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-401
    Missing Release of Memory after Effective Lifetime