From mboxrd@z Thu Jan 1 00:00:00 1970 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 B2C0F2F6175 for ; Wed, 22 Oct 2025 13:24:48 +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=1761139488; cv=none; b=uJ7SFaPnb9Exmv2JHNMptJi2ARmgHn0bYG1I4YgXFo33UcfymYPBtXG5KVh8w3ffs2Z860nJQvIlvadBZVfUiBNOwTN5LX8yox1y+IEaBb72UD/0sagMxWT6RijyB28CM0irxI5D6gMVeUfN6bAx0JedT4BLOPqtv5oEVzH3+30= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761139488; c=relaxed/simple; bh=HgMn9Mu2W/ey8IJm2+MUAsAoy/Xj+R7MpA0dTr7+p1E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DFsDzFLNXfkwSpJ7PtOdXVAk3Tr1sM6vRtlwR4347GoJlS6sPIpB+fSP5iizUjy8uG4n7R9rM1UH1Xgc2EztrbU/TiDbAaXGA3E/b9RaxEFZW8hOMdWncn97HgGVeYwIN0U9xEVV1DgXB/6doGHhYWaaEIx0ODaNYFMPRKbwTdw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LWLXWp93; 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="LWLXWp93" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41B8CC113D0; Wed, 22 Oct 2025 13:24:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761139488; bh=HgMn9Mu2W/ey8IJm2+MUAsAoy/Xj+R7MpA0dTr7+p1E=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LWLXWp93Q3Zwjcc/Xz3XaCZQ9R86Z4X5kAJsYxkGZ9pa4v0/TzknAHG0yiPHmA3Tg xVfIEFRFYW3f8v68NCOHI+nqNzDuemzd1KI98cbHiHh4vjNKZDnhq2dT3xc6lc7PFb wzNGDDqtVi1LtR3cBj9lesmGEmoowgwmG1f7E52M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50573: wifi: mt76: mt7915: fix mt7915_rate_txpower_get() resource leaks Date: Wed, 22 Oct 2025 15:24:21 +0200 Message-ID: <2025102208-CVE-2022-50573-e131@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=1918; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=heDGQ3yPF6icwQQQRSfOiIE9/OuWzBV/9PAFDIa+PHo=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk/bv0w97X67tJTJXaiYfXDo8H721pKHoS+5C+zE7nb+ eHLBhuljhgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI+xqGeRovLjt6L/tZedZc 8puPQmZdN9PN8wwzNj9MjMt7JuskveuVneMR/2NC+x0A 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: mt7915: fix mt7915_rate_txpower_get() resource leaks Coverity message: variable "buf" going out of scope leaks the storage. Addresses-Coverity-ID: 1527799 ("Resource leaks") The Linux kernel CVE team has assigned CVE-2022-50573 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit e3296759f34752ea2562678706dbb5bf607af530 and fixed in 6.2.3 with commit ecff00802f60fa5d08c133d209ed984a455a41f8 Issue introduced in 6.2 with commit e3296759f34752ea2562678706dbb5bf607af530 and fixed in 6.3 with commit 8b25301af01566f4b5a301fc1ad7c5d2b1788d7f 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-50573 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/mt7915/debugfs.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/ecff00802f60fa5d08c133d209ed984a455a41f8 https://git.kernel.org/stable/c/8b25301af01566f4b5a301fc1ad7c5d2b1788d7f