uio_hv_generic: Fix a memory leak in error handling paths
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's uio_hv_generic component can leak a buffer when vmbus_establish_gpadl() fails because error-path cleanup cannot free it. The input does not establish whether an attacker can trigger the failure or specify any access or user-interaction requirements.
Engineers running Linux kernels with uio_hv_generic should check their installations; affected versions were not provided.