
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-47521 is a use-after-free vulnerability discovered in the Linux kernel's CAN (Controller Area Network) subsystem, specifically in the ems_pcmcia_add_card() function of the SJA1000 driver. The vulnerability was disclosed on May 24, 2024, affecting multiple versions of the Linux kernel from version 3.2 through various 6.x releases (NVD).
The vulnerability occurs in the Linux kernel's CAN SJA1000 driver when handling PCMCIA cards. The issue arises when the last channel is not available, causing the 'dev' object to be freed while still being referenced. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements with potential for high impact on confidentiality, integrity, and availability (NVD).
The vulnerability could lead to use-after-free conditions in the Linux kernel's CAN subsystem, potentially resulting in system crashes, information disclosure, or privilege escalation. The high CVSS score indicates serious potential consequences if exploited (Red Hat).
The vulnerability requires local access with low attack complexity and low privileges to exploit. No user interaction is needed for exploitation, though the attacker must have local access to the system (NVD).
A fix has been implemented by modifying the ems_pcmcia_add_card() function to use 'pdev->irq' instead of the freed 'dev->irq' and adding a check to ensure at least one channel is set up before proceeding. The fix has been incorporated into various Linux kernel versions through patches (Kernel Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."