{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68265","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-07-30T09:28:09.378Z","datePublished":"2026-08-10T12:01:40.271Z","dateUpdated":"2026-08-17T05:01:57.952Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-17T05:01:57.952Z"},"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's 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":{"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"},"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 — a repeatable crash any local user can trigger."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/xe/xe_vm.c"],"versions":[{"version":"c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe","lessThan":"d256dac008d1d9e6378aa1a5454e89a8292d174c","status":"affected","versionType":"git"},{"version":"c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe","lessThan":"c4affa4e8bc8086b4d3e8d6cf1055a624f813d72","status":"affected","versionType":"git"},{"version":"c1bb69a2e8e2d55c3725e304d8b8fd189ee43fbe","lessThan":"7bc597ce74bab4153b2009c92eccf889e9d74044","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/xe/xe_vm.c"],"versions":[{"version":"6.18","status":"affected"},{"version":"0","lessThan":"6.18","status":"unaffected","versionType":"semver"},{"version":"6.18.44","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.6","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.44"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.2"}]}]}],"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"}}}}