)]}'
{
  "commit": "4e5591c2fc1b30f4ea5e2eab4c3a695acc404e39",
  "tree": "b34164fe007467cbbf0e58036f82591ebc7c740f",
  "parents": [
    "0df99689eb790bcad3ad82b38fa4ce1cbf3cffa3"
  ],
  "author": {
    "name": "Jia Yao",
    "email": "jia.yao@intel.com",
    "time": "Fri Apr 17 05:59:16 2026 +0000"
  },
  "committer": {
    "name": "Rodrigo Vivi",
    "email": "rodrigo.vivi@intel.com",
    "time": "Wed Apr 29 12:51:21 2026 -0400"
  },
  "message": "drm/xe/uapi: Reject coh_none PAT index for CPU cached memory in madvise\n\nAdd validation in xe_vm_madvise_ioctl() to reject PAT indices with\nXE_COH_NONE coherency mode when applied to CPU cached memory.\n\nUsing coh_none with CPU cached buffers is a security issue. When the\nkernel clears pages before reallocation, the clear operation stays in\nCPU cache (dirty). GPU with coh_none can bypass CPU caches and read\nstale sensitive data directly from DRAM, potentially leaking data from\npreviously freed pages of other processes.\n\nThis aligns with the existing validation in vm_bind path\n(xe_vm_bind_ioctl_validate_bo).\n\nv2(Matthew brost)\n- Add fixes\n- Move one debug print to better place\n\nv3(Matthew Auld)\n- Should be drm/xe/uapi\n- More Cc\n\nv4(Shuicheng Lin)\n- Fix kmem leak issues by the way\n\nv5\n- Remove kmem leak because it has been merged by another patch\n\nv6\n- Remove the fix which is not related to current fix\n\nv7\n- No change\n\nv8\n- Rebase\n\nv9\n- Limit the restrictions to iGPU\n\nv10\n- No change\n\nFixes: ada7486c5668 (\"drm/xe: Implement madvise ioctl for xe\")\nCc: \u003cstable@vger.kernel.org\u003e # v6.18+\nCc: Shuicheng Lin \u003cshuicheng.lin@intel.com\u003e\nCc: Mathew Alwin \u003calwin.mathew@intel.com\u003e\nCc: Michal Mrozek \u003cmichal.mrozek@intel.com\u003e\nCc: Matthew Brost \u003cmatthew.brost@intel.com\u003e\nCc: Matthew Auld \u003cmatthew.auld@intel.com\u003e\nSigned-off-by: Jia Yao \u003cjia.yao@intel.com\u003e\nReviewed-by: Matthew Auld \u003cmatthew.auld@intel.com\u003e\nAcked-by: Michal Mrozek \u003cmichal.mrozek@intel.com\u003e\nAcked-by: José Roberto de Souza \u003cjose.souza@intel.com\u003e\nSigned-off-by: Matthew Auld \u003cmatthew.auld@intel.com\u003e\nLink: https://patch.msgid.link/20260417055917.2027459-2-jia.yao@intel.com\n(cherry picked from commit 016ccdb674b8c899940b3944952c96a6a490d10a)\nSigned-off-by: Rodrigo Vivi \u003crodrigo.vivi@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "66f00d3f5c07032ccdc9a1632ff155992638fe93",
      "old_mode": 33188,
      "old_path": "drivers/gpu/drm/xe/xe_vm_madvise.c",
      "new_id": "c78906dea82bec47513b9167a07cc19d37c96280",
      "new_mode": 33188,
      "new_path": "drivers/gpu/drm/xe/xe_vm_madvise.c"
    }
  ]
}
