A use-after-free vulnerability in the Linux kernel's RDMA/uverbs subsystem was fixed. The flaw involved a race condition during cleanup of user file objects where a dma_buf pointer could be freed and then accessed, leading to a kernel memory corruption detected by KASAN. The issue was resolved by protecting the dma_buf pointer with a mutex and ensuring proper reference handling during release and destruction.