CVE-2021-47364
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47364 affects the Linux kernel's comedi driver, specifically in the compat_insnlist() function. The vulnerability was discovered in September 2021 and involves a memory leak in the handling of the 32-bit version of the COMEDI_INSNLIST ioctl when CONFIG_COMPAT is enabled (Kernel Commit).

Technical details

The vulnerability occurs in the compat_insnlist() function which handles the 32-bit version of the COMEDI_INSNLIST ioctl. The function allocates memory to temporarily hold an array of struct comedi_insn converted from the 32-bit version in user space. The issue arises because this memory is only freed if there is a fault while filling the array, otherwise it remains allocated, causing a memory leak (Kernel Commit).

Impact

The vulnerability results in a memory leak in the Linux kernel's comedi driver. Each time the affected ioctl is called without encountering a fault, it leaks memory that is not properly freed, potentially leading to resource exhaustion over time (Kernel Commit).

Exploitability

The vulnerability requires local access to the system and the ability to make COMEDI_INSNLIST ioctl calls to the affected driver. The issue is triggered specifically when using 32-bit applications on 64-bit systems with CONFIG_COMPAT enabled (Kernel Commit).

Mitigation and workarounds

The vulnerability has been fixed by adding a call to kfree(insns) before returning from the compat_insnlist() function. The fix was implemented in the Linux kernel and is tracked back to the commit that introduced the issue: b8d47d881305 (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-89654CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-extra
NoYesSep 11, 2026
CVE-2026-89711HIGH8.2
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesSep 11, 2026
CVE-2026-89682HIGH8.1
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 11, 2026
CVE-2026-89648HIGH7.5
  • Linux Kernel logoLinux Kernel
  • linux-azure-7.0
NoYesSep 11, 2026
CVE-2026-89693HIGH7
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesSep 11, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management