Use-after-free in Linux kernel - CVE-2024-49876
Published: October 21, 2024 / Updated: May 12, 2025
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within the get_submit_wq(), xe_guc_submit_init(), __release_guc_id() and __guc_exec_queue_fini_async() functions in drivers/gpu/drm/xe/xe_guc_submit.c, within the xe_device_destroy() and xe_device_create() functions in drivers/gpu/drm/xe/xe_device.c. A local user can escalate privileges on the system.
How to mitigate CVE-2024-49876
Sources
- https://git.kernel.org/stable/c/272b0e78874586d6ccae04079d75b27b47705544
- https://git.kernel.org/stable/c/421c74670b0f9d5c007f1276d3647aa58f407fde
- https://git.kernel.org/stable/c/2d2be279f1ca9e7288282d4214f16eea8a727cdb
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.10.14
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.11.3
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12