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

VectorAV: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 👾

Weakness Enumeration

Related Identifiers

BDU:2025-01066
CVE-2022-48801
OPENSUSE-SU-2024_2947-1
SUSE-SU-2024:2894-1
SUSE-SU-2024:2902-1
SUSE-SU-2024:2929-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:2947-1

Affected Products

Astra Linux
Linux Kernel
Red Os
Suse