CVE-2025-21978

MEDIUM

Linux Kernel 6.0-6.1.131, 6.2-6.6.83, 6.7-6.12.19, 6.13-6.13.7 - Memory Leak in Hyper-V DRM Device Removal

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0015
EPSS Percentile 4.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (18)
linux/Kernel 6.0.0 - 6.1.132linux
linux/Kernel 6.13.0 - 6.13.8linux
linux/Kernel 6.2.0 - 6.6.84linux
linux/Kernel 6.7.0 - 6.12.20linux
Linux/Linux < 6.0
Linux/Linux 6.0
Linux/Linux 6.1.132 - 6.1.*
Linux/Linux 6.12.20 - 6.12.*
Linux/Linux 6.13.8 - 6.13.*
Linux/Linux 6.14
... and 8 more
Published Apr 01, 2025
Tracked Since Feb 18, 2026