[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100423-CVE-2022-50508-dd1b@gregkh>
Date: Sat, 4 Oct 2025 17:51:33 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50508: wifi: mt76: mt76x0: fix oob access in mt76x0_phy_get_target_power
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists