Memory Leak Vulnerability in virtiofs

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000071: virtiofs: fix memory leak in virtio_fs_probe(). Affects Kernel versions >= a62a8ef9d97da23762a588592c8b8eb50a8deb6a, < 5116e79fc6e6725b8acdad8b7e928a83ab7b47e6. 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 virtiofs package is a component of the Linux Kernel ecosystem. It provides a virtual file system implementation for the VirtIO framework, which allows efficient communication between the host and guest operating systems in virtualized environments. The package enables file sharing and access between the host and guest systems. However, a vulnerability has been discovered in the virtiofs package that can lead to a memory leak.

Vulnerability Detail

The memory leak vulnerability in virtiofs exists in the virtio_fs_probe() function. This function is responsible for probing and initializing the virtiofs file system. Due to a coding error, memory allocated during the probing process is not properly freed, resulting in a memory leak. An attacker could potentially exploit this vulnerability to exhaust system memory resources, leading to a denial of service condition. The impact and attack plausibility of this vulnerability have not been proven yet.

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

No workaround has been provided for this vulnerability.

Conclusion

In conclusion, a memory leak vulnerability has been identified in the virtiofs package of the Linux Kernel. This vulnerability can potentially lead to a denial of service condition. It is recommended to update the Linux Kernel to version v5.12.3 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

virtiofs is a component of the Linux Kernel ecosystem that provides a virtual file system implementation for the VirtIO framework, enabling file sharing and access between host and guest systems in virtualized environments.

The impact of this vulnerability is a potential denial of service condition due to memory exhaustion. However, the actual impact and attack plausibility have not been proven yet.

To fix this vulnerability, update the Linux Kernel to version v5.12.3 or later, which includes the necessary fix for the memory leak in virtiofs.

No workaround has been provided for this vulnerability.

For more details about this vulnerability, you can refer to the vulnerability ID GSD-2021-1000071 in the GSD database maintained by the Cloud Security Alliance.

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