Bug 2356640 (CVE-2025-21978) - CVE-2025-21978 kernel: drm/hyperv: Fix address space leak when Hyper-V DRM device is removed
Summary: CVE-2025-21978 kernel: drm/hyperv: Fix address space leak when Hyper-V DRM de...
Keywords:
Status: NEW
Alias: CVE-2025-21978
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-01 16:03 UTC by OSIDB Bzimport
Modified: 2025-04-02 01:28 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-01 16:03:56 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.