staging: wfx: fix an error handling in wfx_init_common()
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: wfx: fix an error handling in wfx_init_common()
One error handler of wfx_init_common() return without calling ieee80211_free_hw(hw), which may result in memory leak. And I add one err label to unify the error handler, which is useful for the subsequent changes.
From the CVE record · Linux
An error path in the Linux kernel's staging wfx driver can return from wfx_init_common() without freeing allocated hardware memory, causing a memory leak. The input does not establish whether an attacker can trigger this path or specify network, authentication, or user-interaction requirements.
Teams running Linux kernels with the staging wfx driver should check their exposure; affected versions are not specified.