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.
[
{
"id": "CVE-2025-21978-013b4b92",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"140498211240256477017242835000905640165",
"256950969345170985902748845236023112876",
"292143108754527963246023297169302008192",
"59120979428066098832167273569373217640",
"199570556696027295332622580875854877092",
"281002025255233345831436516885135911609",
"92252084697796989769156492392316749354"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c40cd24bfb9bfbb315c118ca14ebe6cf52e2dd1e",
"target": {
"file": "drivers/gpu/drm/hyperv/hyperv_drm_drv.c"
}
},
{
"id": "CVE-2025-21978-39f5f9b7",
"signature_version": "v1",
"digest": {
"function_hash": "16618564796517622469671994865513785886",
"length": 1069.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@158242b56bf465a73e1edeac0fe828a8acad4499",
"target": {
"file": "drivers/gpu/drm/hyperv/hyperv_drm_drv.c",
"function": "hyperv_vmbus_probe"
}
},
{
"id": "CVE-2025-21978-50388d96",
"signature_version": "v1",
"digest": {
"function_hash": "16618564796517622469671994865513785886",
"length": 1069.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aed709355fd05ef747e1af24a1d5d78cd7feb81e",
"target": {
"file": "drivers/gpu/drm/hyperv/hyperv_drm_drv.c",
"function": "hyperv_vmbus_probe"
}
},
{
"id": "CVE-2025-21978-571ee7df",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"80013895615275837352783768361845919248",
"256064946539981036549254995453060742019",
"292143108754527963246023297169302008192",
"59120979428066098832167273569373217640",
"199570556696027295332622580875854877092",
"245270827714258610210238520691540824117",
"142458483572519846113422834509333052564"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@158242b56bf465a73e1edeac0fe828a8acad4499",
"target": {
"file": "drivers/gpu/drm/hyperv/hyperv_drm_drv.c"
}
},
{
"id": "CVE-2025-21978-81630fec",
"signature_version": "v1",
"digest": {
"function_hash": "35235442430232210457759688707019615168",
"length": 272.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c40cd24bfb9bfbb315c118ca14ebe6cf52e2dd1e",
"target": {
"file": "drivers/gpu/drm/hyperv/hyperv_drm_drv.c",
"function": "hyperv_vmbus_remove"
}
},
{
"id": "CVE-2025-21978-8a60918e",
"signature_version": "v1",
"digest": {
"function_hash": "16094940995440498826267425914168205818",
"length": 261.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aed709355fd05ef747e1af24a1d5d78cd7feb81e",
"target": {
"file": "drivers/gpu/drm/hyperv/hyperv_drm_drv.c",
"function": "hyperv_vmbus_remove"
}
},
{
"id": "CVE-2025-21978-aead54f6",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"80013895615275837352783768361845919248",
"256064946539981036549254995453060742019",
"292143108754527963246023297169302008192",
"59120979428066098832167273569373217640",
"199570556696027295332622580875854877092",
"245270827714258610210238520691540824117",
"142458483572519846113422834509333052564"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aed709355fd05ef747e1af24a1d5d78cd7feb81e",
"target": {
"file": "drivers/gpu/drm/hyperv/hyperv_drm_drv.c"
}
},
{
"id": "CVE-2025-21978-e29d5b1c",
"signature_version": "v1",
"digest": {
"function_hash": "309782077057342586402814175656021249640",
"length": 1030.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c40cd24bfb9bfbb315c118ca14ebe6cf52e2dd1e",
"target": {
"file": "drivers/gpu/drm/hyperv/hyperv_drm_drv.c",
"function": "hyperv_vmbus_probe"
}
},
{
"id": "CVE-2025-21978-f0ba946c",
"signature_version": "v1",
"digest": {
"function_hash": "16094940995440498826267425914168205818",
"length": 261.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@158242b56bf465a73e1edeac0fe828a8acad4499",
"target": {
"file": "drivers/gpu/drm/hyperv/hyperv_drm_drv.c",
"function": "hyperv_vmbus_remove"
}
}
]