In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Fix possible use-after-free when freeing device BO When the DRM file descriptor is closed, amdxdna_client_cleanup() frees the client structure. If device BOs are still alive, freeing them may access abo->client and result in a use-after-free. Move amdxdna_gem_heap_free(), which accesses abo->client, before clearing abo->client in the BO close callback. Also track the heap BOs referenced by device BOs so they can be accessed without dereferencing abo->client.
https://git.kernel.org/stable/c/c5b28fa97ba089db6a892e2af4bc6200ce451723
https://git.kernel.org/stable/c/6a1f6cb7593aebcdb4f9022410622128fb23b1a1