Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77A761C4A24 for ; Mon, 8 Dec 2025 01:17:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765156640; cv=none; b=lPG9ETJ0Q7qvmPPSzONFKl2sV2qQqkiQlzbrfB3fAGGh9ryyog34ZZSRrzjGbwcIeY53YYyYnBCRK9c5FUOwqOrNokLWQMMLm1GL5Ehxy1eCC75MAXlaVRzWmOoOIzjGOIHWfm92y9JSZVfvExxtzzjWv39bQc8hIBQakOIcOYU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765156640; c=relaxed/simple; bh=EvBWjGfjO29zcIwjaGmCk14RI8+FxpYP6u7gtAySVYQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tSw6qVzxeB3OEtGcep2Kfxu6NI9ZalNrXtNH+IvUBUe+KUfhttIIzGrXsBbTVyNq/yYA7iytPf60RQ1WdUe9Aeo4cVukNkamTRGxcsR/nzvpJGDi7A51fBJfxZ+QaRI+AqeaKqnWp/gE2XCSnatg0680mwJ44BQPsuMg3/ScYtQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HGvz7hij; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="HGvz7hij" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA688C4CEFB; Mon, 8 Dec 2025 01:17:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765156640; bh=EvBWjGfjO29zcIwjaGmCk14RI8+FxpYP6u7gtAySVYQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=HGvz7hijZ96hme+xsyuAqXjI3Z4MJ+tqn4tfqh4y/XR6hVTDXGR4NB4aqCEBHWzlS xr4LKY7gzVGw/bELd4e7xboXyM6JQ5dPrRMt3VOmqpukFISWfV8P/JK05ZHMHn1cMP EYqLTwBR0dSX1/0EF/9/V6O1VxCOD5prnsXM0vro= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50629: wifi: rsi: Fix memory leak in rsi_coex_attach() Date: Mon, 8 Dec 2025 10:17:06 +0900 Message-ID: <2025120854-CVE-2022-50629-52d9@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2999; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=u2W77G7+SFtCzdHIKc/09xoTTpbUMH1/iDq2SaBBQrI=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlm6mya2vxZ18WEGmYbCLaemL/H9mSa9vYPG588sqlwO zWhbH1iRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyk1pBhfkLsclu9onXL/KSu eqecErDcFnvlB8M8I+G3Av71ljp3unsytOwXmJ920roIAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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(). The Linux kernel CVE team has assigned CVE-2022-50629 to this issue. Affected and fixed versions =========================== Issue introduced in 4.17 with commit 2108df3c4b1856588ca2e7f641900c2bbf38467e and fixed in 4.19.276 with commit 98259e0b6cf7f021da9fe4e11fbcce6ad6705ffe Issue introduced in 4.17 with commit 2108df3c4b1856588ca2e7f641900c2bbf38467e and fixed in 5.4.235 with commit fe4d7280cf4ddbea6536b596297c07662c7856fc Issue introduced in 4.17 with commit 2108df3c4b1856588ca2e7f641900c2bbf38467e and fixed in 5.10.173 with commit efc8df970561ff708379b89b348e16d3b410cc7b Issue introduced in 4.17 with commit 2108df3c4b1856588ca2e7f641900c2bbf38467e and fixed in 5.15.99 with commit b56e60b3b158a93bc713437e8e466f401ff8cc9f Issue introduced in 4.17 with commit 2108df3c4b1856588ca2e7f641900c2bbf38467e and fixed in 6.1.16 with commit c4f1ded67a90fb3b2e679e2c90b78921d9246044 Issue introduced in 4.17 with commit 2108df3c4b1856588ca2e7f641900c2bbf38467e and fixed in 6.2.3 with commit ace789b1d465fae104cd37e49f6e1bcd1c8ff417 Issue introduced in 4.17 with commit 2108df3c4b1856588ca2e7f641900c2bbf38467e and fixed in 6.3 with commit 956fb851a6e19da5ab491e19c1bc323bb2c2cf6f Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2022-50629 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/wireless/rsi/rsi_91x_coex.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/98259e0b6cf7f021da9fe4e11fbcce6ad6705ffe https://git.kernel.org/stable/c/fe4d7280cf4ddbea6536b596297c07662c7856fc https://git.kernel.org/stable/c/efc8df970561ff708379b89b348e16d3b410cc7b https://git.kernel.org/stable/c/b56e60b3b158a93bc713437e8e466f401ff8cc9f https://git.kernel.org/stable/c/c4f1ded67a90fb3b2e679e2c90b78921d9246044 https://git.kernel.org/stable/c/ace789b1d465fae104cd37e49f6e1bcd1c8ff417 https://git.kernel.org/stable/c/956fb851a6e19da5ab491e19c1bc323bb2c2cf6f