What’s Vulnerable › Vulnerabilities
CVE-2024-49865: drm/xe/vm: move xa_alloc to prevent UAF
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-21 · updated 2026-08-04
- Weakness: CWE-416
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
- Linux kernel: from 6.8 before 6.11.3; 6.12-rc1 — fixed in 6.11.3
How to fix
Upgrade to a fixed version: Linux kernel 6.11.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/09cf8901fc0225898311b375cfcc67bae37ed5da
- https://git.kernel.org/stable/c/74231870cf4976f69e83aa24f48edb16619f652f
Get alerted when CVE-2024-49865 or the next vulnerability affects your stack