Address Space Leak in Linux Kernel's Hyper-V DRM Device Management

linux Updated 02 Oct 2025

Summary

01/04/2025
N/A
Yes i
Unrated
Not published

CVE-2025-21978: In the Linux kernel, the following vulnerability has been resolved: drm/hyperv: Fix address space leak when Hyper-V DRM device is removed When a Hyper-V DRM device is probed, the driver allocates MMIO space for the vram,... Affects linux versions < 6.1.133-1. Fixed in 6.1.133-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 a core component of many operating systems, providing essential services for hardware management and system resources. It supports a wide range of devices and functionalities, including graphics processing through the Direct Rendering Manager (DRM). The Hyper-V DRM device allows for enhanced graphics performance in virtualized environments. However, vulnerabilities in the kernel can lead to significant security risks, including memory leaks and unauthorized access to system resources.

Vulnerability Detail

In the Linux kernel, a vulnerability was identified in the handling of the Hyper-V DRM device. When the device is probed, the driver allocates Memory-Mapped Input/Output (MMIO) space for video RAM (vram) and maps it as cacheable. If the device is removed or encounters an error during probing, the MMIO space is released without unmapping it, leading to a leak of the kernel address space. This leak can potentially be exploited to access sensitive information or cause instability in the system.

How To Fix

Minimum fixed version

6.1.133-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 as soon as it becomes available.

Conclusion

The CVE-2025-21978 vulnerability in the Linux kernel's Hyper-V DRM device poses a significant risk due to the potential for address space leaks. Users are encouraged to update their systems to the patched version to mitigate this risk. Monitoring tools like Vulert can assist in identifying vulnerabilities in your applications.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-21978 is a vulnerability in the Linux kernel related to the Hyper-V DRM device that can lead to an address space leak.

This vulnerability can potentially allow unauthorized access to kernel memory, leading to security risks and system instability.

Yes, a patch is available for Debian 13 in version 6.12.20-1. Users should update their kernel to this version.

While there are no specific workarounds, it is advisable to monitor your system for any unusual behavior and apply the patch as soon as possible.

You can use Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software using a manifest file like package-lock.json. You can check your application at the Vulert playground without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.1.133-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