CVE-2024-49865
drm/xe/vm: move xa_alloc to prevent UAF
Reported by linux · Published October 21, 2024
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)
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | dd08ebf6c3525a7ea2186e636df064ea47281987, dd08ebf6c3525a7ea2186e636df064ea47281987 |
| Linux | Linux | 6.8, 0, 6.11.3 |
| linux | linux_kernel | 6.8, 6.8 |
| Linux | Linux | *, 6.8, 0 |
Timeline
- Oct 21, 2024 CVE Published
- Oct 22, 2024 EPSS Score (30 in total, the first dated here)
- Oct 22, 2024 Coalition ESS Score (16 in total, the first dated here)
- Jan 2, 2026 Security Advisory (443 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (376 in total, the first dated here)
- Aug 5, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-49865
vulnetix vdb fixes CVE-2024-49865
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-49865/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart