CVE-2021-47364comedi: Fix memory leak in compat_insnlist()
- 5.5MediumCVSS base score
- 0.24%Exploitation in 30 daysEPSS · top 85% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: comedi: Fix memory leak in compat_insnlist() `compat_insnlist()` handles the 32-bit version of the `COMEDI_INSNLIST` ioctl (whenwhen `CONFIG_COMPAT` is enabled). It allocates memory to temporarily hold an array of `struct comedi_insn` converted from the 32-bit version in user space. This memory is only being freed if there is a fault while filling the array, otherwise it is leaked. Add a call to `kfree()` to fix the leak.
Timeline
ID reserved
By Linux
Published
- 24 months later
· 24 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.24% · top 85% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected b8d47d8813055ce38c0d2ad913d5462017e52692 – < 8d6a21e4cd6a319b0662cbe4ad6199e276ac776a
- affected b8d47d8813055ce38c0d2ad913d5462017e52692 – < f217b6c1e28ed0b353634ce4d92a155b80bd1671
- affected b8d47d8813055ce38c0d2ad913d5462017e52692 – < bb509a6ffed2c8b0950f637ab5779aa818ed1596
- affected 5.8
- unaffected < 5.8
- unaffected 5.10.70 – ≤ 5.10.*
- unaffected 5.14.9 – ≤ 5.14.*
- unaffected 5.15 – ≤ *
References
References3
- https://git.kernel.org/stable/c/8d6a21e4cd6a319b0662cbe4ad6199e276ac776a (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/f217b6c1e28ed0b353634ce4d92a155b80bd1671 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/bb509a6ffed2c8b0950f637ab5779aa818ed1596 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-34369 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-47364)Record last updated .