
Cloud Vulnerability DB
A community-led vulnerabilities database
In the Linux kernel, a vulnerability (CVE-2021-47224) has been identified and resolved in the network driver component (ll_temac). The issue involves improper handling of socket buffer (skb) freeing in the transmit path of the network driver (Kernel Git).
The vulnerability stems from a use-after-free condition in the DMA operations when handling multi-fragment packet transmission. The issue occurs when the first Buffer Descriptor (BD) of a multi-TX BD packet is marked as completed in xmit_done while remaining BDs are still being processed. The fix involves modifying how the skb pointer is piggy-backed on the TX BD, ensuring it's attached to the last fragment rather than the first to prevent premature freeing (Kernel Git).
When exploited, this vulnerability could lead to use-after-free conditions on the DMA side of operations, potentially causing memory corruption or system instability when transmitting network packets with multiple fragments (Kernel Git).
The vulnerability requires access to a system running the affected Linux kernel version with the ll_temac network driver. It can be triggered during normal network operations when transmitting packets that require multiple buffer descriptors.
The issue has been fixed by modifying the skb pointer attachment logic in the driver. The fix ensures that the skb is only freed when all fragments have been completely processed by attaching the pointer to the last TX BD instead of the first one. Users should update to patched kernel versions that include this fix (Kernel Git).
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."