
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-47111 affects the Linux kernel's xen-netback component. The vulnerability was discovered when a reference counting issue was identified in the RX task thread handling. The issue occurs when the thread returns before the kthread_stop call is executed during backend tear down, which can be triggered by the frontend (Kernel Git).
The vulnerability stems from a missing task reference in the xen-netback driver. The issue was introduced during a code rework in commit 2ac061ce97f4 where a previously existing reference was dropped. When the frontend triggers the thread to return before kthread_stop is called during backend tear down, it leads to a use-after-free condition. The fix involves taking a reference to the task to prevent it from being freed prematurely (Kernel Git).
The vulnerability can result in a use-after-free condition in the Linux kernel's xen-netback driver. This could potentially lead to system crashes or memory corruption (NVD).
The vulnerability can be triggered by the frontend component of the Xen network interface when it causes the RX task thread to return before the backend tear down process completes its kthread_stop call (Kernel Git).
The issue has been fixed by reintroducing the task reference with get_task_struct() and adding corresponding put_task_struct() calls. The fix was implemented in the Linux kernel through a patch that properly manages the task reference counting (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."