CVE-2021-47122: net: caif: fix memory leak in caif_device_notify
In the Linux kernel, the following vulnerability has been resolved:
net: caif: fix memory leak in caif_device_notify
In case of caif_enroll_dev() fail, allocated
link_support won't be assigned to the corresponding
structure. So simply free allocated pointer in case
of error
CVE-2021-47122 is a Linux kernel memory leak in the CAIF networking code. When device enrollment fails, allocated memory may not be released. The public record does not provide CVSS scoring, confirmed exploitation, or business-impact details, so urgency depends on whether affected Linux kernels and CAIF support exist in your fleet.
Executive priority
Handle through routine kernel patch governance unless CAIF-enabled or custom Linux systems are business-critical. There is no provided evidence of exploitation or severe impact, but kernel memory leaks can affect availability if reachable.
Technical view
The issue is in caif_device_notify: if caif_enroll_dev() fails, the allocated link_support object is not attached to the target structure and was not freed. Linux stable fixes add cleanup on that error path. The source bundle identifies affected Linux kernel version ranges and stable commit references, but does not describe exploit prerequisites.
Likely exposure
Exposure is limited to Linux systems running affected kernel builds with the relevant CAIF networking code present. The bundle does not identify distributions, default configurations, or whether ordinary remote traffic can trigger the failure path.
Exploitation context
No active exploitation is cited. The CVE is not listed as KEV in the provided bundle, and no source here claims public exploitation. Treat this as a kernel reliability and resource-exhaustion concern until vendor guidance clarifies practical reachability.
Researcher notes
Key uncertainty is reachability: the sources describe the failed enrollment cleanup bug but not attacker control, privilege requirements, or trigger conditions. Validation should focus on kernel lineage, CAIF presence, and whether the stable fix is included downstream.
Mitigation direction
Check distribution kernel advisories for CVE-2021-47122 status.
Apply Linux stable or vendor kernel updates containing the referenced fixes.
Prioritize systems where CAIF support is enabled or custom kernels are used.
Track remediation through normal kernel patch management.
Validation and detection
Inventory Linux kernel versions across servers, appliances, and embedded systems.
Confirm whether deployed kernels include the referenced stable fix commits.
Check kernel configuration or modules for CAIF networking support.
Review vendor advisories before assigning production impact.
Based on public source material and reviewed before publication.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2021-47122 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.