Vulnerability in vsock/virtio Package: Freeing Queued Packets When Closing Socket

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

UVI-2021-1000240: vsock/virtio: free queued packets when closing socket. Affects Kernel versions >= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 37c38674ef2f8d7e8629e5d433c37d6c1273d16b. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The vsock/virtio package is a component of the Linux Kernel, which is responsible for providing support for virtual sockets and the virtio transport protocol. This package enables communication between virtual machines and the host system. It allows efficient data transfer and facilitates inter-VM communication. However, a vulnerability has been identified in this package that can lead to potential security risks.

Vulnerability Detail

The identified vulnerability in the vsock/virtio package involves the failure to free queued packets when closing a socket. This issue was introduced in version v5.2 of the Linux Kernel and was fixed in version v5.12.4. When a socket is closed, the queued packets associated with it are not properly freed, leading to potential memory leaks and resource exhaustion. Although the impact and attack plausibility of this vulnerability have not been proven, it is essential to address this issue to ensure the security and stability of the system.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As this vulnerability has been fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is advisable to update the Kernel to the recommended version to resolve the issue.

Conclusion

The vulnerability in the vsock/virtio package, which involves the failure to free queued packets when closing a socket, has been identified and fixed in the Linux Kernel version v5.12.4. It is crucial to update the Kernel to this version or later to mitigate the risk of memory leaks and resource exhaustion. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vsock/virtio package is a component of the Linux Kernel that provides support for virtual sockets and the virtio transport protocol. It enables efficient data transfer and facilitates communication between virtual machines and the host system.

The impact of this vulnerability is not yet proven. However, if left unaddressed, it could potentially lead to memory leaks and resource exhaustion, which may impact the stability and security of the system.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.12.4 or later. This update includes the necessary patch to address the issue and ensure that queued packets are correctly freed when closing a socket.

As this vulnerability has been fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is advisable to update the Kernel to the recommended version to resolve the issue.

For more information about this vulnerability, you can refer to the provided references link, which includes details about the specific commits in the Linux Kernel repository.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback