CVE-2021-47024: 
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Mitigation and workarounds

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).

Additional resources


Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99804HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-7.0
NoYesNov 20, 2026
CVE-2026-99798HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-nvidia
NoYesNov 20, 2026
CVE-2026-99799MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-bos
NoYesNov 20, 2026
CVE-2026-99797MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • rv
NoYesNov 20, 2026
CVE-2026-99796MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesNov 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management