drm/hyperv: Fix address space leak when Hyper-V DRM device is removed
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-21978
Credits & Attribution
No credits recorded in the NVD database.
References
- https://git.kernel.org/stable/c/c40cd24bfb9bfbb315c118ca14ebe6cf52e2dd1e
- https://git.kernel.org/stable/c/ad27b4a51495490b815580d9b935e8eee14d1a9c
- https://git.kernel.org/stable/c/24f1bbfb2be77dad82489c1468bbb14312aab129
- https://git.kernel.org/stable/c/158242b56bf465a73e1edeac0fe828a8acad4499
- https://git.kernel.org/stable/c/aed709355fd05ef747e1af24a1d5d78cd7feb81e
More from Linux
View All →Affected Vendor
Linux
View all reports →Affected Software
Timeline
CVSS Vectors
Weaknesses (CWE)
No CWE data available
MITRE ATT&CK TTPs
No associated TTPs found for this vulnerability.