What’s Vulnerable › Vulnerabilities

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

Description

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.132, 6.12.20, 6.13.8, 6.6.84. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21978 or the next vulnerability affects your stack