CVE-2026-46309

Summary

In the Linux kernel, the following vulnerability has been resolved:

drm/xe/uapi: Reject coh_none PAT index for CPU cached memory in madvise

Add validation in xe_vm_madvise_ioctl() to reject PAT indices with XE_COH_NONE coherency mode when applied to CPU cached memory.

Using coh_none with CPU cached buffers is a security issue. When the kernel clears pages before reallocation, the clear operation stays in CPU cache (dirty). GPU with coh_none can bypass CPU caches and read stale sensitive data directly from DRAM, potentially leaking data from previously freed pages of other processes.

This aligns with the existing validation in vm_bind path (xe_vm_bind_ioctl_validate_bo).

v2(Matthew brost)

  • Add fixes
  • Move one debug print to better place

v3(Matthew Auld)

  • Should be drm/xe/uapi
  • More Cc

v4(Shuicheng Lin)

  • Fix kmem leak issues by the way

v5

  • Remove kmem leak because it has been merged by another patch

v6

  • Remove the fix which is not related to current fix

v7

  • No change

v8

  • Rebase

v9

  • Limit the restrictions to iGPU

v10

  • No change

(cherry picked from commit 016ccdb674b8c899940b3944952c96a6a490d10a)

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxada7486c5668db542a7d361268df931aca5b726a < 87f9b1528e1ffc1da3615d552c9a06aba5e20b00affected
LinuxLinuxada7486c5668db542a7d361268df931aca5b726a < fea04cf6f2345bc50f15b6638906c35962b89424affected
LinuxLinuxada7486c5668db542a7d361268df931aca5b726a < 4e5591c2fc1b30f4ea5e2eab4c3a695acc404e39affected
LinuxLinux6.18affected
LinuxLinux0 < 6.18unaffected
LinuxLinux6.18.32 <= 6.18.*unaffected
LinuxLinux7.0.9 <= 7.0.*unaffected
LinuxLinux7.1 <= *unaffected

Weaknesses

ADP Enrichment

kernel: drm/xe/uapi: Reject coh_none PAT index for CPU cached memory in madvise

Additional References

References