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 42C9727147D for ; Wed, 1 Oct 2025 11:52:32 +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=1759319552; cv=none; b=AeMhcns3MEOiSU6rrapFyE0wGPpXyoO+Coueofyx7QCK4IrbiSzqlTVPC6EBHd/vBA7sllbDhCAHVq66KMuByPthntwUDZPSzAO9A2DPs/KiDINJ3dffc9Klbl2wMJk7Xmb1oFJLxM19B0oPLFwBcJ2awi65YuVBCVvVYIA9BzU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319552; c=relaxed/simple; bh=Rf/QZRsSd2TMy4hL9puDvK3qHxegt/VjT739yJnIzBk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Lw37XEiB/7DB0+S1K71Xcfu2krGrCqLqBTT/16a7mLZ2MvqplvrHkPnF2Qb9KDFIqbrfKxDighzknIo2990ip02e58LTJP0XMv4Jm4ZcHX8hBwC+rnMJXj6hcRuHCAK0pDQdR0Y6WKm7MIYDIjiQbvjrTAXi0KgzwDNJlHQiXjI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gdMXaYY6; 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="gdMXaYY6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6DB89C4CEF4; Wed, 1 Oct 2025 11:52:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319551; bh=Rf/QZRsSd2TMy4hL9puDvK3qHxegt/VjT739yJnIzBk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gdMXaYY6wH/ECgv56du8jLUu4aKDHJgDaRd+d7QbBsipzWrpesJlj4wMIvmnJcw8v bxoyY/zdX+7mJQarPNBPXmQSR0Dm77198MIZQI+Av6X0HK9FcZwm5lM+0oJIVFaBkf S49RH/HTW/VxCOKepq2Wqq52u3ZJWSBNsygk2uCI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50424: wifi: mt76: mt7921: resource leaks at mt7921_check_offload_capability() Date: Wed, 1 Oct 2025 13:41:57 +0200 Message-ID: <2025100156-CVE-2022-50424-049f@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=1995; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4/tGCho59AS5wiPTLKrjfVhNE4Za6ZqhBFNhusQf834=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3hVv229nalJsfWZltcE4k/UDmxvLa1t8p+7b/9b2at uKkynvOjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhImiPDfP9j9xXXbr0XudpZ L+Pgdo+SzX158xkWtF816H/74Mf5o59/hBxNnH9y3wF7XQA= 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: mt76: mt7921: resource leaks at mt7921_check_offload_capability() Fixed coverity issue with resource leaks at variable "fw" going out of scope leaks the storage it points to mt7921_check_offload_capability(). Addresses-Coverity-ID: 1527806 ("Resource leaks") The Linux kernel CVE team has assigned CVE-2022-50424 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 034ae28b56f13dc1f2beb3fa294b455f57ede9cb and fixed in 6.2.3 with commit ead3cffd7510dc635d84cd4ea9dd1974fcb69a35 Issue introduced in 6.2 with commit 034ae28b56f13dc1f2beb3fa294b455f57ede9cb and fixed in 6.3 with commit 47180ecf4541146836c5307c1d5526f8ac6a5a6d 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-50424 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/mediatek/mt76/mt7921/init.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/ead3cffd7510dc635d84cd4ea9dd1974fcb69a35 https://git.kernel.org/stable/c/47180ecf4541146836c5307c1d5526f8ac6a5a6d