Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-49865

drm/xe/vm: move xa_alloc to prevent UAF

Description

In the Linux kernel, the following vulnerability has been resolved: drm/xe/vm: move xa_alloc to prevent UAF Evil user can guess the next id of the vm before the ioctl completes and then call vm destroy ioctl to trigger UAF since create ioctl is still referencing the same vm. Move the xa_alloc all the way to the end to prevent this. v2: - Rebase (cherry picked from commit dcfd3971327f3ee92765154baebbaece833d3ca9)

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • dd08ebf6c3525a7ea2186e636df064ea47281987 to < 09cf8901fc0225898311b375cfcc67bae37ed5daaffected
  • dd08ebf6c3525a7ea2186e636df064ea47281987 to < 74231870cf4976f69e83aa24f48edb16619f652faffected

Linux Linux

Default version status: affected

  • 6.8affected
  • 0 to < 6.8unaffected
  • 6.11.3 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References