uio_hv_generic: Fix another 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 |
|
|
5.10.2415.12.75.13In the Linux kernel, the following vulnerability has been resolved:
uio_hv_generic: Fix another memory leak in error handling paths
Memory allocated by 'vmbus_alloc_ring()' at the beginning of the probe function is never freed in the error handling path.
Add the missing 'vmbus_free_ring()' call.
Note that it is already freed in the .remove function.
From the CVE record · Linux
The Linux kernel's uio_hv_generic driver leaks memory allocated by vmbus_alloc_ring() when its probe function takes an error-handling path. The input does not establish whether an attacker can trigger that path or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their version includes the uio_hv_generic fix; affected versions are not specified.