data built 2026-10-19T13:16:53Z

Look up another CVE · open CVE-2026-68265 in the interactive tracker

CVE-2026-68265

drm/xe/vm: Fix BO prefetch with CONSULT_MEM_ADVISE_PREF_LOC

7.3 EPSS 0.1% AV:L

Published 2026-08-10 (2 months ago) by the Linux kernel CNA. Subsystem drivers/gpu. Debian urgency: unimportant.

What to do, per Debian release

Debian's own status for CVE-2026-68265 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source

ReleaseStatus VersionWhat this means
Debian 12bookwormnot affected6.1.190-1Nothing to do. bookworm never shipped the vulnerable code.
Debian 13trixienot affected6.12.113-1Nothing to do. trixie never shipped the vulnerable code.
Debian 14forkyfixed7.1.6-1Update the kernel and reboot. Fixed in 7.1.6-1. A running kernel keeps the old code until the machine restarts.
Debian unstablesidfixed7.1.6-1Update the kernel and reboot. Fixed in 7.1.6-1. A running kernel keeps the old code until the machine restarts.

The vulnerability

What the bug is

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)

Where it lives

The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.

drivers/gpu/drm/xe/xe_vm.c

What this is
INTEL DRM XE DRIVER (Lunar Lake and newer)MAINTAINERS section matched on drivers/gpu/drm/xe/ · intel-xe@lists.freedesktop.org · Supported
Kernel module
xe

Check it on the machine

grep -w CONFIG_DRM_XE /boot/config-$(uname -r)

Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.

lsmod | grep -w xe

Prints a line if that module is loaded right now, and nothing if it is not. One that is not loaded can still be loaded later by anything that needs it.

Show whether Debian builds this, per release

Debian builds this, but not on every flavour. At least one release below builds the code on some of its kernel flavours and not on others, so the answer depends on the architecture and flavour installed. The build rule could not be established for 1 release, so nothing is claimed about those.

  • bookworm?
  • trixieMnot built on amd64/cloud-amd64, arm64/arm64-16k, arm64/cloud-arm64, armel/rpi, ppc64el/powerpc64le-64k, s390x/s390x
  • forky, sidMnot built on amd64/cloud-amd64, arm64/arm64-16k, arm64/cloud-arm64, loong64/loong64, ppc64el/powerpc64le-64k, s390x/s390x
?
not established - no Makefile entry for the affected file
M
a module where it is built at all; some flavours do not build it

Where a release above reads "not established", no build rule for the affected file was found in that release's kernel tree. That is a gap in this lookup, not a finding that the code is absent.

Build switch
CONFIG_DRM_XE

From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages

Signals

Published
2026-08-10 (2 months ago)source
CVSS
7.3 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:Hsource recompute it
Attack vector
local (AV:L)source
EPSS
0.13%, higher than 2.3% of all CVEssource
CISA KEV
not listedthe KEV catalogue
Debian urgency
unimportantsource
Subsystem
drivers/gpu

Upstream fixes

The versions the CNA records as introducing and fixing this, and the commit for each. source

IntroducedFixed inCommit
6.186.18.44d256dac008d1
6.187.1.6c4affa4e8bc8
6.187.27bc597ce74ba

Why the CNA scored it this way

Quoted from the kernel CNA's own scoring file, word for word. A highlighted metric carries the most severe value CVSS v3.1 defines for it, which is what pushes the score up. source

AV:LAttack vector, local
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.
AC:LAttack complexity, low
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.
PR:LPrivileges required, low
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.
UI:NUser interaction, none
The attacker performs the entire sequence (create BO, bind, prefetch) from their own process via ioctls; no victim action or interaction is required.
S:UScope, unchanged
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.
C:HConfidentiality impact, high
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.
I:LIntegrity impact, low
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.
A:HAvailability impact, high
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 — a repeatable crash any local user can trigger.