In the Linux kernel, the following vulnerability has been resolved:
uio_hv_generic: Fix a memory leak in error handling paths
If ‘vmbus_establish_gpadl()’ fails, the (recv|send)_gpadl will not be
updated and ‘hv_uio_cleanup()’ in the error handling path will not be
able to free the corresponding buffer.
In such a case, we need to free the buffer explicitly.
Vendor | Product | Version | CPE |
---|---|---|---|
linux | linux_kernel | * | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/uio/uio_hv_generic.c"
],
"versions": [
{
"version": "cdfa835c6e5e",
"lessThan": "cdd91637d4ef",
"status": "affected",
"versionType": "git"
},
{
"version": "cdfa835c6e5e",
"lessThan": "d84b5e912212",
"status": "affected",
"versionType": "git"
},
{
"version": "cdfa835c6e5e",
"lessThan": "53486c467e35",
"status": "affected",
"versionType": "git"
},
{
"version": "cdfa835c6e5e",
"lessThan": "3ee098f96b8b",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/uio/uio_hv_generic.c"
],
"versions": [
{
"version": "4.20",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.20",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.4.122",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.10.40",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.12.7",
"lessThanOrEqual": "5.12.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.13",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]