Skip to main content
← All vulnerabilities
CVE-2026-68240

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.18.44, 7.1.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9 · fixed in e8362523fd1b61712f7d996802f9b5dee545c7e6; From f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9 · fixed in 72e4fca5529e45b5beebad79d804de442f632324; From f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9 · fixed in 7f708f51e3955bda0d77a0b67ab9bea6c97fea99

  • Linux Linux

    6.18

  • KernelLinux

    From 6.18.0 · fixed in 6.18.44; From 6.19.0 · fixed in 7.1.6

References 3

git.kernel.org