PT-2024-10515 · Linux+3 · Linux Kernel+3
Dan Carpenter
·
Published
2022-02-11
·
Updated
2025-09-24
·
CVE-2022-48801
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 incorrect error handling in the Linux kernel's iio component, specifically in the IIO BUFFER GET FD IOCTL function. When the kernel fails to copy a file descriptor to userland, it attempts to clean up by putting back the file descriptor and freeing related resources. However, this cleanup process is incorrect, as it uses put unused fd() on a file descriptor that has already been published, leading to a partially corrupted state. This allows userland to exploit the vulnerability by abusing the still usable file descriptor and operating on a dangling 'file->private data' pointer.
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 👾
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Red Os
Suse