
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-47024 is a memory leak vulnerability in the Linux kernel's vsock/virtio subsystem. The issue occurs when closing a socket, where queued packets in the RX queue are not properly freed when the socket is definitely closed by the scheduled work. This vulnerability affects Linux kernel versions from 5.2 through 5.10.37, 5.11 through 5.11.21, and 5.12 through 5.12.4 (NVD).
The vulnerability stems from an incomplete fix in a previous commit (ac03046ece2b) titled 'vsock/virtio: free packets during the socket release'. While this commit partially addressed the issue, it failed to drain the RX queue when the socket is definitely closed by the scheduled work. The issue was discovered and reported by syzbot. The CVSS v3.1 base score for this vulnerability is 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
The vulnerability results in a memory leak when closing vsock sockets, which could lead to resource exhaustion over time. This can potentially affect system availability by consuming system memory resources (NVD).
The vulnerability requires local access with low privileges to exploit. No user interaction is needed, but the attacker must have local access to the system to trigger the memory leak condition (NVD).
The vulnerability has been fixed by introducing a new virtio_transport_remove_sock() function that properly drains the RX queue before removing the socket from the af_vsock lists. The fix has been implemented in the Linux kernel through multiple patch commits (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."