CVE-2024-49865

published 21 Oct 2024 · updated 5 Aug 2026

drm/xe/vm: move xa_alloc to prevent UAF

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 09cf8901fc0225898311b375cfcc67bae37ed5da and Kernel 74231870cf4976f69e83aa24f48edb16619f652f.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.8, >=dd08ebf6c3525a7ea2186e636df064ea47281987 <09cf8901fc0225898311b375cfcc67bae37ed5da, >=dd08ebf6c3525a7ea2186e636df064ea47281987 <74231870cf4976f69e83aa24f48edb16619f652f09cf8901fc0225898311b375cfcc67bae37ed5da, 74231870cf4976f69e83aa24f48edb16619f652f

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-49865 severity on Zeptric[![CVE-2024-49865](https://zeptric.io/badge/cve/CVE-2024-49865.svg)](https://zeptric.io/cve/CVE-2024-49865)