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 2E443278158 for ; Sat, 4 Oct 2025 15:53: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=1759593212; cv=none; b=GFV6iPZBN3eCled5LHJ0A8w3h4owUCYPeMEfmUniiFqtvP05tvHdVhry5DRFwSHeGjEvox7PQobnPXfy8eIONqoK3M2oBhsNvPakzTtxAzoyFdyf5TlUSwvhaAbKSua/FJlA8NTMlwCQMQKLRjOTtMeZlnCxy9hOVqZv5v9Myd0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759593212; c=relaxed/simple; bh=p/TspZjnD39jTLwFh7OEue3rvgG91DIUyJ3CKnmjPz0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=vEGnTjPHtoyGfD6dhXI5RxAwEMCybZmvLQet/+V5WhpBMW7lCt3gz7SK3Afn/GmXGEgMknK619ZNGAhZN7m5grHtY05OsfqP7V5H/22N19Ku7P5LwRT3gXTlMWkkXSGlCVFt3O5y/0wHesomOUALDgQ8eySPpufvmnig139wyQI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LYrxB7kx; 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="LYrxB7kx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADE86C4CEF1; Sat, 4 Oct 2025 15:53:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759593212; bh=p/TspZjnD39jTLwFh7OEue3rvgG91DIUyJ3CKnmjPz0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LYrxB7kxsfIS8L4MLPSCNGzh8AxgZMbZsduNm7LO9SDwwfmey8/rvtYzxVmb5FByH pw5jf89oqp8wgdGAYjSOsM7KVlh6/DS5mzdtRqL9dnPSzZBS9pIMAKj8dPdLK6Am3U AztvofeQVG4Pw78buy/2vPugasoGe85gIUVIxaB4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50508: wifi: mt76: mt76x0: fix oob access in mt76x0_phy_get_target_power Date: Sat, 4 Oct 2025 17:51:33 +0200 Message-ID: <2025100423-CVE-2022-50508-dd1b@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=2071; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1liOR3R9Axf3ubW9DR5YyESlzDSivFRw/1ZmzagVx9w=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkPnapZNF8L2xim7+m8pZYn13/X4P+5yn1CJa9OzJkxM f+EdvLcjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIkAbDgvavOUuV2XR3fs2p nr3tnuPm2il/mxgWLCqSM0ntfuyxOMHvwrfDYYKKL+X1AQ== 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: mt76x0: fix oob access in mt76x0_phy_get_target_power After 'commit ba45841ca5eb ("wifi: mt76: mt76x02: simplify struct mt76x02_rate_power")', mt76x02 relies on ht[0-7] rate_power data for vht mcs{0,7}, while it uses vth[0-1] rate_power for vht mcs {8,9}. Fix a possible out-of-bound access in mt76x0_phy_get_target_power routine. The Linux kernel CVE team has assigned CVE-2022-50508 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit ba45841ca5eb29245f9c9f452a39586d9d68bc12 and fixed in 6.2.3 with commit bf425c5d7ef6fb4083c1e0d46440f886127b5ee5 Issue introduced in 6.2 with commit ba45841ca5eb29245f9c9f452a39586d9d68bc12 and fixed in 6.3 with commit 6e1abc51c945663bddebfa1beb9590ff5b250eb7 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-50508 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/mt76x0/phy.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/bf425c5d7ef6fb4083c1e0d46440f886127b5ee5 https://git.kernel.org/stable/c/6e1abc51c945663bddebfa1beb9590ff5b250eb7