Memory Leak Vulnerability in Linux Kernel's hv_balloon Package

linux Updated 02 Oct 2025

Summary

27/03/2025
N/A
Yes i
Medium
5.5

CVE-2023-52937: In the Linux kernel, the following vulnerability has been resolved: HV: hv_balloon: fix memory leak with using debugfs_lookup() When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory... Affects linux versions < 6.1.11-1. Fixed in 6.1.11-1. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, providing essential services for all other parts of the system. The hv_balloon driver is responsible for managing memory in virtualized environments, allowing for dynamic memory allocation and deallocation. This driver is crucial for optimizing memory usage in hypervisor environments, but it is also susceptible to vulnerabilities that can lead to memory leaks, impacting system performance and stability.

Vulnerability Detail

The vulnerability identified as CVE-2023-52937 arises from improper handling of memory allocation in the hv_balloon driver. Specifically, when the debugfs_lookup() function is called, the resulting memory must be released using dput() to prevent leaks. Failure to do so can lead to gradual memory consumption, potentially exhausting system resources over time. This issue was resolved by switching to the debugfs_lookup_and_remove() function, which automatically manages memory cleanup, thus preventing leaks.

How To Fix

Minimum fixed version

6.1.11-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch by updating the package as described above.

Conclusion

CVE-2023-52937 is a critical memory leak vulnerability in the Linux kernel's hv_balloon driver that can lead to significant system resource issues. Users are advised to update their systems to the patched version to mitigate this risk. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system integrity.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2023-52937 is a vulnerability in the Linux kernel's hv_balloon driver that can lead to memory leaks if not properly managed.

If exploited, this vulnerability can cause your system to gradually consume more memory, potentially leading to performance degradation and system instability.

The vulnerability affects Linux kernel versions prior to 6.1.11-1 in Debian 12 and 13.

Yes, a patch is available in version 6.1.11-1 and later. Users should update their Linux kernel to this version or newer.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.1.11-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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