CVE-2022-50629
Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: rsi: Fix memory leak in rsi_coex_attach()
The coex_cb needs to be freed when rsi_create_kthread() failed in rsi_coex_attach().
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
In the Linux kernel, a memory leak in rsi_coex_attach() occurs when rsi_create_kthread() fails, as coex_cb is not freed.
Vulnerability
Description
CVE-2022-50629 is a memory leak vulnerability in the Linux kernel's Redpine Signals wifi driver. In the function rsi_coex_attach(), a control block (coex_cb) is allocated, but if rsi_create_kthread() fails, this memory is not freed, leading to a memory leak [1].
Attack
Vector and Prerequisites
The vulnerability can be triggered locally by an attacker with the ability to load the rsi driver and cause thread creation failure, for example by exhausting system resources. No special privileges are required beyond the ability to interact with the wifi device or trigger driver initialization.
Impact
An attacker can cause a gradual depletion of kernel memory, leading to system instability or denial of service (DoS). The leak occurs each time the driver initialization fails, potentially causing the system to run out of memory over repeated attempts.
Mitigation
Patches have been applied to the Linux kernel stable branches as seen in commits [1], [2], and [3]. Users should update their kernel to include these fixes. No workaround is available other than applying the patch or avoiding the vulnerable driver.
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2Patches
798259e0b6cf7fe4d7280cf4defc8df970561b56e60b3b158c4f1ded67a90ace789b1d465956fb851a6e1Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
7- git.kernel.org/stable/c/956fb851a6e19da5ab491e19c1bc323bb2c2cf6fnvd
- git.kernel.org/stable/c/98259e0b6cf7f021da9fe4e11fbcce6ad6705ffenvd
- git.kernel.org/stable/c/ace789b1d465fae104cd37e49f6e1bcd1c8ff417nvd
- git.kernel.org/stable/c/b56e60b3b158a93bc713437e8e466f401ff8cc9fnvd
- git.kernel.org/stable/c/c4f1ded67a90fb3b2e679e2c90b78921d9246044nvd
- git.kernel.org/stable/c/efc8df970561ff708379b89b348e16d3b410cc7bnvd
- git.kernel.org/stable/c/fe4d7280cf4ddbea6536b596297c07662c7856fcnvd
News mentions
0No linked articles in our index yet.