Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-68240

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-68240

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9",
        "lessThan": "e8362523fd1b61712f7d996802f9b5dee545c7e6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9",
        "lessThan": "72e4fca5529e45b5beebad79d804de442f632324",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9",
        "lessThan": "7f708f51e3955bda0d77a0b67ab9bea6c97fea99",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/drm_gpusvm.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.18"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.18",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.18.44",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/drm_gpusvm.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-68240

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#41161 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement