Vulnerability in virtio_console package: Assure used length from device is limited

Kernel Updated 02 Oct 2025

Summary

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

UVI-2021-1001412: virtio_console: Assure used length from device is limited. Affects Kernel versions < 56cf748562d3cbfd33d1ba2eb4a7603a5e20da88. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The virtio_console package is a component of the Linux Kernel ecosystem. It provides a virtual console interface for communication between the host and guest systems in a virtualized environment. The package allows the exchange of data and commands between the host and guest through a shared memory buffer. However, a vulnerability has been discovered in the package that could potentially lead to security issues.

Vulnerability Detail

The vulnerability in the virtio_console package arises from a lack of proper validation of the 'used' length parameter received from the device. This parameter determines the amount of data that has been written to the shared memory buffer by the guest system. Without proper validation, a malicious guest system could manipulate the 'used' length to read or write beyond the allocated buffer, potentially leading to memory corruption, information leaks, or even privilege escalation. This vulnerability has the potential to be exploited by an attacker with access to the guest 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

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in the virtio_console package could potentially allow a malicious guest system to manipulate the 'used' length parameter and perform unauthorized operations beyond the allocated buffer. To mitigate this risk, it is crucial to update the Linux Kernel to version v4.14.240 or later. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability could potentially allow a malicious guest system to manipulate the 'used' length parameter and perform unauthorized read or write operations beyond the allocated buffer. This could lead to memory corruption, information leaks, or privilege escalation.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze the dependencies and alert you if any open-source vulnerabilities, including this one, are found.

As of now, there are no known public exploits for this vulnerability. However, it is always recommended to apply security patches and updates to mitigate the risk of potential exploits.

To exploit this vulnerability, an attacker would need access to the guest system in a virtualized environment where the virtio_console package is being used.

Yes, this vulnerability has been fixed in Linux Kernel version v4.14.240. Updating to this version or later ensures that the proper validation of the 'used' length parameter is in place.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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