CVE-2025-21978

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

published April 1, 2025

CVSS
—
EPSS
0%
Percentile
8.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00190 · 8.2th percentile
Published
2025-04-01T15:47Z
EPSS history
Timeline
  • 01 APR 15:47Z
    drm/hyperv: Fix address space leak when Hyper-V DRM device is removed
    cvelistv5