{"id":"CVE-2025-21978","aliases":["CVE-2025-21978"],"related":[],"kind":"vulnerability","state":"published","title":"drm/hyperv: Fix address space leak when Hyper-V DRM device is removed","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/hyperv: Fix address space leak when Hyper-V DRM device is removed\n\nWhen a Hyper-V DRM device is probed, the driver allocates MMIO space for\nthe vram, and maps it cacheable. If the device removed, or in the error\npath for device probing, the MMIO space is released but no unmap is done.\nConsequently the kernel address space for the mapping is leaked.\n\nFix this by adding iounmap() calls in the device removal path, and in the\nerror path during device probing.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/hyperv: Fix address space leak when Hyper-V DRM device is removed\n\nWhen a Hyper-V DRM device is probed, the driver allocates MMIO space for\nthe vram, and maps it cacheable. If the device removed, or in the error\npath for device probing, the MMIO space is released but no unmap is done.\nConsequently the kernel address space for the mapping is leaked.\n\nFix this by adding iounmap() calls in the device removal path, and in the\nerror path during device probing.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/hyperv: Se soluciona la fuga de espacio de direcciones al eliminar un dispositivo DRM de Hyper-V. Al sondear un dispositivo DRM de Hyper-V, el controlador asigna espacio MMIO para la VRAM y lo asigna como caché. Si se elimina el dispositivo, o si se encuentra en la ruta de error para el sondeo del dispositivo, se libera el espacio MMIO, pero no se desasigna. En consecuencia, se filtra el espacio de direcciones del kernel para la asignación. Para solucionar esto, agregue llamadas a iounmap() en la ruta de eliminación del dispositivo y en la ruta de error durante el sondeo del dispositivo.","source":"nvd"}],"published":"2025-04-01T15:47:08.168Z","modified":"2026-11-05T21:17:47.137Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"a0ab5abced550ddeefddb06055ed60779a54eb79","fixed":"c40cd24bfb9bfbb315c118ca14ebe6cf52e2dd1e","status":"affected"},{"type":"git","introduced":"a0ab5abced550ddeefddb06055ed60779a54eb79","fixed":"ad27b4a51495490b815580d9b935e8eee14d1a9c","status":"affected"},{"type":"git","introduced":"a0ab5abced550ddeefddb06055ed60779a54eb79","fixed":"24f1bbfb2be77dad82489c1468bbb14312aab129","status":"affected"},{"type":"git","introduced":"a0ab5abced550ddeefddb06055ed60779a54eb79","fixed":"158242b56bf465a73e1edeac0fe828a8acad4499","status":"affected"},{"type":"git","introduced":"a0ab5abced550ddeefddb06055ed60779a54eb79","fixed":"aed709355fd05ef747e1af24a1d5d78cd7feb81e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.1.132","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.84","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.20","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.8","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.0","fixed":"6.1.132"},{"status":"affected","introduced":"6.2","fixed":"6.6.84"},{"status":"affected","introduced":"6.7","fixed":"6.12.20"},{"status":"affected","introduced":"6.13","fixed":"6.13.8"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c40cd24bfb9bfbb315c118ca14ebe6cf52e2dd1e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad27b4a51495490b815580d9b935e8eee14d1a9c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/24f1bbfb2be77dad82489c1468bbb14312aab129","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/158242b56bf465a73e1edeac0fe828a8acad4499","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aed709355fd05ef747e1af24a1d5d78cd7feb81e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:37:24.824Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21978","url":"https://www.cve.org/CVERecord?id=CVE-2025-21978","licence":"CVE Terms of Use","modified":"2026-11-05T20:41:48.710Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21978","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21978","licence":"Public domain","modified":"2026-11-05T21:17:47.137Z"}],"updatedAt":"2026-11-25T22:58:55.920Z","epss":{"score":0.00217,"percentile":0.12995,"date":"2026-12-01T12:00:22.000Z"}}