---
id: CVE-2026-68265
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 …
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe <
    d256dac008d1d9e6378aa1a5454e89a8292d174c
  - >-
    Linux >= c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe <
    c4affa4e8bc8086b4d3e8d6cf1055a624f813d72
  - >-
    Linux >= c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe <
    7bc597ce74bab4153b2009c92eccf889e9d74044
  - Linux 6.18
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T15:46:24.156978Z'
published: '2026-08-10'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:53:05.503Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-68265'
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'
tags:
  - cve.org
epss: 0.00129
epssPercentile: 0.02289
ingestedAt: '2026-10-16T17:24:46.852Z'
---

## Overview

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)

## Affected

- `Linux >= c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe < d256dac008d1d9e6378aa1a5454e89a8292d174c`
- `Linux >= c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe < c4affa4e8bc8086b4d3e8d6cf1055a624f813d72`
- `Linux >= c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe < 7bc597ce74bab4153b2009c92eccf889e9d74044`
- `Linux 6.18`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
