staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
In the above mentioned routine, memory is allocated in several places. If the first succeeds and a later one fails, the routine will leak memory. This patch fixes commit 2865d42c78a9 ("staging: r8712u: Add the new driver to the mainline kernel"). A potential memory leak in r8712_xmit_resource_alloc() is also addressed.
From the CVE record · Linux
The Linux kernel’s staging r8712 driver can leak memory if an allocation in _r8712_init_xmit_priv() succeeds and a later allocation fails. A potential leak in r8712_xmit_resource_alloc() was also addressed. The input does not establish how an attacker could trigger either leak or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the staging r8712 driver should check their versions; affected versions are not specified.