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 7A65B2E5430 for ; Wed, 1 Oct 2025 11:54:51 +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=1759319691; cv=none; b=FCOJuWk5MRcKjY3AGqMaVyjT68yrDKltvHWsn6mlVOYF2eiWUof3Y/pJoPSEX5jubibr6txfl7YSSA+3l2Vuuckj8yvcTQdpncKOQ7ArYMbWHA1beGwZh4uODzx4JYr5kJLfQ6emxsQknztaFTdXLx1Cb8cWqLfwhl8mxqfhxsI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319691; c=relaxed/simple; bh=J0j+SLqXGps1xnLItH1BY2gtTdksiUZkCW4pIP+yrb4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=F8dj0Q/bVi/loI9WuaCoMafQE/IelXUowbQ6T9W1sfE/16TmzdeCKusc2cag3oK4Z9JlpCtiQiZmhPO/0OlglnNWFK/D9WsG3HVNlyAY21y9RCzroPQqYx7cFz3qLbBC0iRU4oQyogpBjFPPFA7IXH+LNyc/mCqa/iAPcgQAidc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vjRIURbW; 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="vjRIURbW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2705C4CEF4; Wed, 1 Oct 2025 11:54:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319691; bh=J0j+SLqXGps1xnLItH1BY2gtTdksiUZkCW4pIP+yrb4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=vjRIURbWYnnVGRCr2Xdzd5v/O3DKwylr0NDpi1iC2bn9uz8Flown8iwfjJcYVTcdv V2CQvTC6+EMwPz0uN5EeBtr/F6/GK+QgkCLCzGqJItgf4/6/cW9VKRnjGRl0+t8bR2 Nhs8cx7Hm+RsfsjZJAA+4/M3bEtqgFyBkDes45RM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53460: wifi: rtw88: fix memory leak in rtw_usb_probe() Date: Wed, 1 Oct 2025 13:42:30 +0200 Message-ID: <2025100106-CVE-2023-53460-cdc8@gregkh> X-Mailer: git-send-email 2.51.0 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=1783; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4N0fed1COmiTVeX30CLC74BQnyuwmUf0EJcg1yCMTDU=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3hftWx0+pvSEktOHtQuujj/w0G/8tynTU/rVcZXrBi znHp+i5dsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEftcyzPds96vlllhw1Wxt XRhTOJ9NsVuwFMM8pcOxH5Y8sXgneM2q+ugkrzJ+k5x1AA== 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: rtw88: fix memory leak in rtw_usb_probe() drivers/net/wireless/realtek/rtw88/usb.c:876 rtw_usb_probe() warn: 'hw' from ieee80211_alloc_hw() not released on lines: 811 Fix this by modifying return to a goto statement. The Linux kernel CVE team has assigned CVE-2023-53460 to this issue. Affected and fixed versions =========================== Fixed in 6.3.4 with commit 6cc92379b80af005e1f49ef6ef790cddc58cf0da Fixed in 6.4 with commit 48181d285623198c33bb9698992502687b258efa 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-2023-53460 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/realtek/rtw88/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/6cc92379b80af005e1f49ef6ef790cddc58cf0da https://git.kernel.org/stable/c/48181d285623198c33bb9698992502687b258efa