Linux · Linux Kernel · CVE-2022-48821
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
The issue is related to a use-after-free error in the Linux kernel, specifically in the misc component of the fastrpc module. When the copy back to userland fails for the FASTRPC IOCTL ALLOC DMA BUFF ioctl(), it should not be assumed that 'buf->dmabuf' is still valid. In fact, dma buf fd() called fd install() before, consuming one reference and leaving none. Calling dma buf put() will put a reference that is no longer owned, leading to a valid file descriptor table entry for an already released 'file' object, which is a straight use-after-free.
**Recommendations**
At the moment, there is no information about a newer version that contains a fix for this vulnerability.