PT-2024-10525 · Linux+3 · Linux Kernel+3
Mathias Krause
·
Published
2022-02-03
·
Updated
2025-01-20
·
CVE-2022-48821
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
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.
Exploit
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Red Os
Suse