CVE-2025-21978

published 1 Apr 2025 · updated 7 Nov 2026

drm/hyperv: Fix address space leak when Hyper-V DRM device is removed

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.1.132, Kernel 6.13.8, Kernel 6.6.84 and 6 more.

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, and maps it cacheable. If the device removed, or in the error path for device probing, the MMIO space is released but no unmap is done. Consequently the kernel address space for the mapping is leaked. Fix this by adding iounmap() calls in the device removal path, and in the error path during device probing.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6.0 <6.1.132, >=6.13 <6.13.8, >=6.2 <6.6.84, >=6.7 <6.12.20, =6.14, >=a0ab5abced550ddeefddb06055ed60779a54eb79 <24f1bbfb2be77dad82489c1468bbb14312aab129, >=a0ab5abced550ddeefddb06055ed60779a54eb79 <ad27b4a51495490b815580d9b935e8eee14d1a9c, >=a0ab5abced550ddeefddb06055ed60779a54eb79 <aed709355fd05ef747e1af24a1d5d78cd7feb81e, >=a0ab5abced550ddeefddb06055ed60779a54eb79 <c40cd24bfb9bfbb315c118ca14ebe6cf52e2dd1e, =6.0, >=a0ab5abced550ddeefddb06055ed60779a54eb79 <158242b56bf465a73e1edeac0fe828a8acad44996.1.132, 6.13.8, 6.6.84, 6.12.20, 24f1bbfb2be77dad82489c1468bbb14312aab129, ad27b4a51495490b815580d9b935e8eee14d1a9c, aed709355fd05ef747e1af24a1d5d78cd7feb81e, c40cd24bfb9bfbb315c118ca14ebe6cf52e2dd1e, 158242b56bf465a73e1edeac0fe828a8acad4499
linux-kernel: Kernel>=6.0.0 <6.1.132, >=6.13.0 <6.13.8, >=6.2.0 <6.6.84, >=6.7.0 <6.12.206.1.132, 6.13.8, 6.6.84, 6.12.20

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21978 severity on Zeptric[![CVE-2025-21978](https://zeptric.io/badge/cve/CVE-2025-21978.svg)](https://zeptric.io/cve/CVE-2025-21978)