In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Preallocate hardware context schedulers The hardware context scheduler fence is exposed through drm_syncobj_add_point(). After a hardware context is destroyed, userspace can still call drm_sched_fence_get_timeline_name() on the fence through SYNC_IOC_FILE_INFO. This results in a use-after-free when accessing fence->sched->name. Preallocate hardware context schedulers and free them during device teardown instead. A destroyed hardware context no longer frees its scheduler, ensuring that the scheduler remains valid while its fences are still accessible.
https://git.kernel.org/stable/c/f7afecd54296cf7ad6fa36f692d2a7427e32f25d
https://git.kernel.org/stable/c/e76d6740254afede99334d965ea9b22c4b34a30b
https://git.kernel.org/stable/c/d7957565e05797d1eb3ba7d3c585af17303d4717