CVE-2026-68265 (GCVE-0-2026-68265)

Vulnerability from cvelistv5 – Published: 2026-08-10 12:01 – Updated: 2026-08-17 05:01
VLAI
Title
drm/xe/vm: Fix BO prefetch with CONSULT_MEM_ADVISE_PREF_LOC
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/xe/vm: Fix BO prefetch with CONSULT_MEM_ADVISE_PREF_LOC When prefetch region is DRM_XE_CONSULT_MEM_ADVISE_PREF_LOC for a BO VMA, the code used it as an index into region_to_mem_type[], causing an out-of-bounds access since the value is -1. Resolve the preferred location for BO VMAs directly: local VRAM on dGFX (using the BO's tile placement) or system memory on iGPU. Discovered using AI-assisted static analysis confirmed by Intel Product Security. v2: -Fix null dereference (cherry picked from commit d9a4906ac03be9f6ed3f3b45c56c866b867fd75b)
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe , < d256dac008d1d9e6378aa1a5454e89a8292d174c (git)
Affected: c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe , < c4affa4e8bc8086b4d3e8d6cf1055a624f813d72 (git)
Affected: c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe , < 7bc597ce74bab4153b2009c92eccf889e9d74044 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.18
Unaffected: 0 , < 6.18 (semver)
Unaffected: 6.18.44 , ≤ 6.18.* (semver)
Unaffected: 7.1.6 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/xe/xe_vm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d256dac008d1d9e6378aa1a5454e89a8292d174c",
              "status": "affected",
              "version": "c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe",
              "versionType": "git"
            },
            {
              "lessThan": "c4affa4e8bc8086b4d3e8d6cf1055a624f813d72",
              "status": "affected",
              "version": "c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe",
              "versionType": "git"
            },
            {
              "lessThan": "7bc597ce74bab4153b2009c92eccf889e9d74044",
              "status": "affected",
              "version": "c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/xe/xe_vm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.18"
            },
            {
              "lessThan": "6.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.44",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.44",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.6",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe/vm: Fix BO prefetch with CONSULT_MEM_ADVISE_PREF_LOC\n\nWhen prefetch region is DRM_XE_CONSULT_MEM_ADVISE_PREF_LOC for a BO VMA,\nthe code used it as an index into region_to_mem_type[], causing an\nout-of-bounds access since the value is -1.\n\nResolve the preferred location for BO VMAs directly: local VRAM on dGFX\n(using the BO\u0027s tile placement) or system memory on iGPU.\n\nDiscovered using AI-assisted static analysis confirmed by Intel Product\nSecurity.\n\nv2:\n-Fix null dereference\n\n(cherry picked from commit d9a4906ac03be9f6ed3f3b45c56c866b867fd75b)"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is reached only through the DRM_IOCTL_XE_VM_BIND ioctl on an xe render node (/dev/dri/renderD*), which requires local access to the device file; there is no network-facing path into drivers/gpu/drm/xe/xe_vm.c.\nAC:L - Fully deterministic and attacker-controlled: map any BO, then issue a PREFETCH bind op with prefetch_region = DRM_XE_CONSULT_MEM_ADVISE_PREF_LOC (-1), which the ioctl validator explicitly accepts, and the out-of-bounds index is taken every time. No race, no memory-layout grooming, and no special config beyond a normal Intel Xe GPU.\nPR:L - XE_VM_BIND is registered DRM_RENDER_ALLOW, so any unprivileged user or sandboxed/containerized process holding a render-node fd (the norm for desktop, Android and GPU containers) can drive the path; no capability or root is needed.\nUI:N - The attacker performs the entire sequence (create BO, bind, prefetch) from their own process via ioctls; no victim action or interaction is required.\nS:U - The out-of-bounds access and any resulting fault or misbehaviour stay within the kernel of the same machine and are not mediated across a VM, IOMMU or other security authority boundary.\nC:H - region_to_mem_type[] is a 3-entry array indexed with 0xFFFFFFFF, an unbounded wild read roughly 16 GB past the object rather than a small bounded overread; the loaded word is consumed by the driver and, on layouts where the address is readable, exposes memory the caller must never observe, so a high confidentiality impact is the defensible assessment.\nI:L - The out-of-bounds word is used directly as the mem_type argument to xe_bo_migrate(), so uninitialized/foreign data drives xe_bo_can_migrate(), mem_type_is_vram() and add_vram() placement decisions, letting a buffer object be moved to a memory region the caller never requested; the subsequent placement check bounds this to limited modification rather than an arbitrary write.\nA:H - The 0xFFFFFFFF index computes an address far outside any valid mapping (on x86-64 the module-relative offset wraps into a non-kernel address), so the read faults in kernel mode inside an in-progress drm_exec transaction holding VM and BO locks, producing an oops and a wedged GPU context \u2014 a repeatable crash any local user can trigger."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:01:57.952Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d256dac008d1d9e6378aa1a5454e89a8292d174c"
        },
        {
          "url": "https://git.kernel.org/stable/c/c4affa4e8bc8086b4d3e8d6cf1055a624f813d72"
        },
        {
          "url": "https://git.kernel.org/stable/c/7bc597ce74bab4153b2009c92eccf889e9d74044"
        }
      ],
      "title": "drm/xe/vm: Fix BO prefetch with CONSULT_MEM_ADVISE_PREF_LOC",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-68265",
    "datePublished": "2026-08-10T12:01:40.271Z",
    "dateReserved": "2026-07-30T09:28:09.378Z",
    "dateUpdated": "2026-08-17T05:01:57.952Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-68265",
      "date": "2026-08-20",
      "epss": "0.00129",
      "percentile": "0.0301"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-68265\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-10T13:20:15.380\",\"lastModified\":\"2026-08-17T05:18:28.990\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/xe/vm: Fix BO prefetch with CONSULT_MEM_ADVISE_PREF_LOC\\n\\nWhen prefetch region is DRM_XE_CONSULT_MEM_ADVISE_PREF_LOC for a BO VMA,\\nthe code used it as an index into region_to_mem_type[], causing an\\nout-of-bounds access since the value is -1.\\n\\nResolve the preferred location for BO VMAs directly: local VRAM on dGFX\\n(using the BO\u0027s tile placement) or system memory on iGPU.\\n\\nDiscovered using AI-assisted static analysis confirmed by Intel Product\\nSecurity.\\n\\nv2:\\n-Fix null dereference\\n\\n(cherry picked from commit d9a4906ac03be9f6ed3f3b45c56c866b867fd75b)\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/gpu/drm/xe/xe_vm.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe\",\"lessThan\":\"d256dac008d1d9e6378aa1a5454e89a8292d174c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe\",\"lessThan\":\"c4affa4e8bc8086b4d3e8d6cf1055a624f813d72\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe\",\"lessThan\":\"7bc597ce74bab4153b2009c92eccf889e9d74044\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/gpu/drm/xe/xe_vm.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.18\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.18\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.44\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.6\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H\",\"baseScore\":7.3,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.5}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/7bc597ce74bab4153b2009c92eccf889e9d74044\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c4affa4e8bc8086b4d3e8d6cf1055a624f813d72\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d256dac008d1d9e6378aa1a5454e89a8292d174c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-13T23:13:03+00:00",
      "cve": "CVE-2026-68265",
      "id": "CVE-2026-68265",
      "initial_release_date": "2026-08-10T00:00:00+00:00",
      "product_status:known_affected": "184",
      "product_status:known_not_affected": "90",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: drm/xe/vm: Fix BO prefetch with CONSULT_MEM_ADVISE_PREF_LOC",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68265.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-14T23:45:24Z",
      "cve": "CVE-2026-68265",
      "id": "CVE-2026-68265",
      "initial_release_date": "2026-08-14T17:15:00Z",
      "product_status:known_not_affected": "296",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-68265",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-68265.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…