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 9E3EC2F616A for ; Wed, 22 Oct 2025 13:25:38 +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=1761139538; cv=none; b=eipfmMbBGOtrTN1lK2taT+rqtjCjR9Ypb8UP1ScNt/2IQ9RfWE7xBBOt2UDIf0dvTK1Kk+UatOVoWH7/nVWu9dTbUBbowax8VuOd85La4JCyQU33L5vTMvOQd+P+8U/7HyM5fPqQRWDHM8/iaMUnFAvfHPdAp1PvjmwVIyTMrBk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761139538; c=relaxed/simple; bh=pBREcA+Lm1CvzxGk+IAH/XkTgE9Wzfs6SPqq8kbfq7Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IFgbLyd4wGaef92nNn41jytQsSeCByToT/D5KWaR/e1E5iB7uDD4ZIAYbJMjS5Ah92AyMwaX7h4U56K2L7CZviARDp2SxIhUVOBNTFJda12J1rD9fMDS059JMouf88125vK6W8TweNxNc2qbuT3T+EbuCxyUlUyU0sGQw6od65Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=c3nsdTRL; 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="c3nsdTRL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20BF7C4CEE7; Wed, 22 Oct 2025 13:25:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761139538; bh=pBREcA+Lm1CvzxGk+IAH/XkTgE9Wzfs6SPqq8kbfq7Q=; h=From:To:Cc:Subject:Date:Reply-to:From; b=c3nsdTRL5XOJeQ8vS4BXeu+kiZdLVDi7FjlF3qtMsGdcmi/7qcPvdx+CKjrriDCj3 VKzH9EMYOsf70MSWpWvTMr6IoX0mgboppHdNSbz8M4pRzCNgMy2tsbPOmop/Mqbv1T 4d89wRgfC+pf5ZUkRR7LQ8i0Berk21bLkwdrE2gQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50565: wifi: plfxlc: fix potential memory leak in __lf_x_usb_enable_rx() Date: Wed, 22 Oct 2025 15:24:13 +0200 Message-ID: <2025102207-CVE-2022-50565-ddc2@gregkh> X-Mailer: git-send-email 2.51.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2193; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Ql9zX6K+7qraa7xVzySgC2Zv4mk4PwZHj2NceaNugC8=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk/bn0/NfvI4tkCQswSWr82iMr06tW/kkuYvPnXjbRNc 4rdDh4S7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJSE9hmKeyu8fVPNKsxInx K8PSPrUJecpPShkWbOYW+Lpo9vuFmlNWLGawtxdlXr44EgA= 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: plfxlc: fix potential memory leak in __lf_x_usb_enable_rx() urbs does not be freed in exception paths in __lf_x_usb_enable_rx(). That will trigger memory leak. To fix it, add kfree() for urbs within "error" label. Compile tested only. The Linux kernel CVE team has assigned CVE-2022-50565 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 68d57a07bfe5bb29b80cd8b8fa24c9d1ea104124 and fixed in 6.0.16 with commit 286464463a05cb4bad80b134e24f8ffaab20bee4 Issue introduced in 5.19 with commit 68d57a07bfe5bb29b80cd8b8fa24c9d1ea104124 and fixed in 6.1.2 with commit fce7e46273649d9cdcd98d89551975a65f206a14 Issue introduced in 5.19 with commit 68d57a07bfe5bb29b80cd8b8fa24c9d1ea104124 and fixed in 6.2 with commit 895b3b06efc285c1245242e9638b9ae251dc13ec 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-50565 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/purelifi/plfxlc/usb.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/286464463a05cb4bad80b134e24f8ffaab20bee4 https://git.kernel.org/stable/c/fce7e46273649d9cdcd98d89551975a65f206a14 https://git.kernel.org/stable/c/895b3b06efc285c1245242e9638b9ae251dc13ec