Vulnerability in virtio-net package: Add validation for used length

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

UVI-2021-1001227: virtio-net: Add validation for used length. Affects Kernel versions < ba710baa1cc1b17a0483f7befe03e696efd17292. 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 virtio-net package is a component of the Linux Kernel ecosystem. It provides a virtual network device driver for virtual machines running on the Linux Kernel. This driver enables communication between the virtual machine and the host system's network. The vulnerability in the virtio-net package arises from a lack of validation for the used length parameter. This parameter is used to determine the size of the packet being processed. Without proper validation, an attacker could manipulate the used length parameter to trigger buffer overflows or other memory-related vulnerabilities.

Vulnerability Detail

The vulnerability in the virtio-net package allows an attacker to exploit the lack of validation for the used length parameter. By sending specially crafted packets with manipulated used length values, an attacker can trigger buffer overflows or other memory-related vulnerabilities. This can lead to arbitrary code execution, denial of service, or privilege escalation. The impact and attack plausibility of this vulnerability have not been proven yet, but it is essential to address it to ensure the security of systems using the virtio-net package.

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

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in the virtio-net package, which arises from a lack of validation for the used length parameter, can lead to buffer overflows or other memory-related vulnerabilities. To mitigate this vulnerability, it is recommended to update the Linux Kernel to version v5.13.3 or later. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The virtio-net package is a virtual network device driver for virtual machines running on the Linux Kernel. It enables communication between the virtual machine and the host system's network.

The impact of this vulnerability can include arbitrary code execution, denial of service, or privilege escalation, depending on the attacker's capabilities and the specific system configuration.

To fix this vulnerability, update the Linux Kernel to version v5.13.3 or later, which includes the necessary validation for the used length parameter.

No specific workaround has been mentioned for this vulnerability.

For more information, you can refer to the vulnerability details in the Open Source Vulnerability format provided by the Cloud Security Alliance's GSD database. The vulnerability ID is UVI-2021-1001227.

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