CVE-2025-21978

Source
https://cve.org/CVERecord?id=CVE-2025-21978
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21978.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21978
Downstream
Related
Published
2025-04-01T15:47:08.168Z
Modified
2026-03-20T12:41:15.928297Z
Summary
drm/hyperv: Fix address space leak when Hyper-V DRM device is removed
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21978.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a0ab5abced550ddeefddb06055ed60779a54eb79
Fixed
c40cd24bfb9bfbb315c118ca14ebe6cf52e2dd1e
Fixed
ad27b4a51495490b815580d9b935e8eee14d1a9c
Fixed
24f1bbfb2be77dad82489c1468bbb14312aab129
Fixed
158242b56bf465a73e1edeac0fe828a8acad4499
Fixed
aed709355fd05ef747e1af24a1d5d78cd7feb81e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21978.json"