Kernel memory corruption via IIO buffer use-after-free
Published Jul 16, 2024 · Updated Aug 5, 2026
Use-after-free in the Linux kernel IIO buffer ioctl allows local users to corrupt kernel memory through a failed descriptor copy. The IIO_BUFFER_GET_FD_IOCTL error path calls put_unused_fd and frees its buffer after anon_inode_getfd has published the descriptor, leaving file->private_data dangling. Access to an IIO device node is required; reusing the installed descriptor can disclose or alter kernel memory or crash the host.
Summary
What happened
Use-after-free in the Linux kernel IIO buffer ioctl allows local users to corrupt kernel memory through a failed descriptor copy. The IIO_BUFFER_GET_FD_IOCTL error path calls put_unused_fd and frees its buffer after anon_inode_getfd has published the descriptor, leaving file->private_data dangling. Access to an IIO device node is required; reusing the installed descriptor can disclose or alter kernel memory or crash the host.
The record
- CVE
- CVE-2022-48801
- Published
- Jul 16, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 16, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.13
- Affected versionversion=f73f7f4da581875f9b1f2fb8ebd1ab15ed634488 <202071d2518537866d291aa7cf26af54e674f4d4
- Affected versionversion=f73f7f4da581875f9b1f2fb8ebd1ab15ed634488 <b7f54894aa7517d2b6c797a499b9f491e9db9083
- Affected versionversion=f73f7f4da581875f9b1f2fb8ebd1ab15ed634488 <c72ea20503610a4a7ba26c769357d31602769c01
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo