PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2021-47122: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47122 is a memory leak vulnerability discovered in the Linux kernel's CAIF (Communication CPU to Application CPU Interface Framework) subsystem. The issue specifically affects the caif_device_notify function where allocated link_support memory is not properly freed when caif_enroll_dev() fails. This vulnerability was disclosed on March 15, 2024, and affects Linux kernel versions from 3.3 through multiple branches up to versions before 4.4.272, 4.9.272, 4.14.236, 4.19.194, and 5.4.125 (NVD).

Technical details

The vulnerability occurs in the net/caif/caif_dev.c file where the caif_device_notify function fails to properly handle memory allocation failures. When caif_enroll_dev() fails, the allocated link_support pointer is not freed, leading to a memory leak. The issue was identified as CWE-401 (Missing Release of Memory after Effective Lifetime). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to memory leaks in the Linux kernel when the CAIF subsystem is in use. While the impact is limited to availability (no confidentiality or integrity impacts), it could potentially lead to system resource exhaustion over time if repeatedly triggered (Red Hat).

Exploitability

The vulnerability requires local access with low privileges to exploit. No active exploits have been reported in the wild, though the vulnerability was discovered and tested by the syzkaller automated testing system (Kernel.org).

Mitigation and workarounds

The vulnerability has been fixed through a patch that properly frees the allocated link_support pointer in case of caif_enroll_dev() failure. The fix has been backported to multiple kernel versions and is available in kernel updates. Users should update their Linux kernel to versions 4.4.272, 4.9.272, 4.14.236, 4.19.194, 5.4.125 or later depending on their branch (NVD).

Additional resources


Source: This 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-98862MEDIUM6
  • Linux Kernel logoLinux Kernel
  • python3-perf
NoYesOct 18, 2026
CVE-2026-98859MEDIUM5.7
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-partner
NoYesOct 18, 2026
CVE-2026-98861MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules-core
NoYesOct 18, 2026
CVE-2023-7356NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesOct 21, 2026
CVE-2026-98863NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-devel
NoYesOct 18, 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