Vulnerabilities · 2025 · Linux
CVE-2025-21978
Linux Kernel vulnerability
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
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/158242b56bf465a73e1edeac0fe828a8acad4499 · Patch
- git.kernel.org/stable/c/24f1bbfb2be77dad82489c1468bbb14312aab129 · Patch
- git.kernel.org/stable/c/ad27b4a51495490b815580d9b935e8eee14d1a9c · Patch
- git.kernel.org/stable/c/aed709355fd05ef747e1af24a1d5d78cd7feb81e · Patch
- git.kernel.org/stable/c/c40cd24bfb9bfbb315c118ca14ebe6cf52e2dd1e · Patch
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html
- nvd.nist.gov/vuln/detail/CVE-2025-21978
- cve.org/CVERecord?id=CVE-2025-21978
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.