wifi: rtlwifi: rtl8192du: Fix possible memory leak in rtl92du_init_sw_vars()
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:
wifi: rtlwifi: rtl8192du: Fix possible memory leak in rtl92du_init_sw_vars()
The memory allocated inside rtl92du_init_shared_data() is not freed in any of the subsequent error paths in rtl92du_init_sw_vars(). Fix that by adding a call to rtl92du_deinit_shared_data() in the error path.
From the CVE record · Linux
The Linux kernel’s rtlwifi rtl8192du driver can leak memory if rtl92du_init_sw_vars() encounters an error after allocating shared data. The input does not establish how an attacker could trigger the error or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the rtlwifi rtl8192du driver should check their versions; affected versions are not specified.