Memory exhaustion via unreleased compatibility ioctl buffer
Published May 21, 2024 · Updated May 11, 2026
Memory leak in Linux's COMEDI compatibility ioctl allows local users to exhaust kernel memory through successful 32-bit requests. With CONFIG_COMPAT enabled, compat_insnlist() allocates a converted struct comedi_insn array for COMEDI_INSNLIST but frees it only when array population faults. Repeated successful requests consume kernel memory and can interrupt service; access to an applicable COMEDI device is required.
Summary
What happened
Memory leak in Linux's COMEDI compatibility ioctl allows local users to exhaust kernel memory through successful 32-bit requests. With CONFIG_COMPAT enabled, compat_insnlist() allocates a converted struct comedi_insn array for COMEDI_INSNLIST but frees it only when array population faults. Repeated successful requests consume kernel memory and can interrupt service; access to an applicable COMEDI device is required.
The record
- CVE
- CVE-2021-47364
- Published
- May 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 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.8
- Affected versionversion=b8d47d8813055ce38c0d2ad913d5462017e52692 <8d6a21e4cd6a319b0662cbe4ad6199e276ac776a
- Affected versionversion=b8d47d8813055ce38c0d2ad913d5462017e52692 <bb509a6ffed2c8b0950f637ab5779aa818ed1596
- Affected versionversion=b8d47d8813055ce38c0d2ad913d5462017e52692 <f217b6c1e28ed0b353634ce4d92a155b80bd1671
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.
Weakness, pattern, technique
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