{
  "id": "CVE-2026-68240",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-68240",
  "published_at": "2026-08-10T12:01:05.81Z",
  "title": "drm/gpusvm: publish dpagemap early to avoid device mapping leak on error",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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-\u003edpagemap on the success path. If a later page failed (e.g.\n-EOPNOTSUPP when ctx-\u003eallow_mixed is false) and jumped to err_unmap,\nsvm_pages-\u003edpagemap was still NULL, so __drm_gpusvm_unmap_pages() skipped\ndevice_unmap() and leaked the device mappings already created.\n\nAssign svm_pages-\u003edpagemap 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.",
  "cwe": "CWE-401",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9, \u003c e8362523fd1b61712f7d996802f9b5dee545c7e6",
          "\u003e= f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9, \u003c 72e4fca5529e45b5beebad79d804de442f632324",
          "\u003e= f70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9, \u003c 7f708f51e3955bda0d77a0b67ab9bea6c97fea99"
        ],
        "fixed_in": [
          "e8362523fd1b61712f7d996802f9b5dee545c7e6",
          "72e4fca5529e45b5beebad79d804de442f632324",
          "7f708f51e3955bda0d77a0b67ab9bea6c97fea99"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.18"
        ],
        "fixed_in": [
          "0",
          "6.18.44",
          "7.1.6",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e8362523fd1b61712f7d996802f9b5dee545c7e6 or 72e4fca5529e45b5beebad79d804de442f632324 or 7f708f51e3955bda0d77a0b67ab9bea6c97fea99 or later.",
      "Upgrade Linux to 0 or 6.18.44 or 7.1.6 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
