{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-50508",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-10-04T15:39:19.465Z",
        "datePublished": "2025-10-04T15:43:56.372Z",
        "dateUpdated": "2026-08-05T08:59:00.865Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T08:59:00.865Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt76x0: fix oob access in mt76x0_phy_get_target_power\n\nAfter 'commit ba45841ca5eb (\"wifi: mt76: mt76x02: simplify struct\nmt76x02_rate_power\")', mt76x02 relies on ht[0-7] rate_power data for\nvht mcs{0,7}, while it uses vth[0-1] rate_power for vht mcs {8,9}.\nFix a possible out-of-bound access in mt76x0_phy_get_target_power routine."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H",
                        "baseScore": 7.1,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:A - The bug is in mt76x0 TSSI TX-power calibration after the device itself transmits VHT frames; the highest-impact case is an mt76x0 SoftAP/hotspot where an adjacent WiFi peer’s traffic drives VHT TX and the periodic cal_work path, matching Adjacent WiFi reachability used for similar mt76 SoftAP bugs.\nAC:L - On TSSI-enabled mt76x0 hardware, calibration runs on a fixed delayed-work interval and VHT MCS 2–9 indexing of the shrunk vht[2] array is deterministic once the radio is serving ordinary 802.11ac traffic; no attacker-uncontrollable race or rare debug config is required.\nPR:N - An adjacent client needs no host OS account or capability: open SoftAP/hotspot association plus data traffic is enough to cause the AP to TX VHT and exercise mt76x0_phy_get_target_power without authentication on the victim host.\nUI:N - Once SoftAP/hotspot is already running, the attacker triggers the path solely by associating and exchanging frames; no separate victim mount, open, or interactive step is required.\nS:U - The out-of-bounds access and resulting TX ALC mis-programming stay inside the host kernel WiFi driver authority and do not cross a VM, IOMMU, or sandbox boundary.\nC:L - This is a strictly bounded single-byte OOB read (vht[tx_rate] with tx_rate≤9 into a 2-element array, at most ~7 bytes past rate_power into the adjacent cal fields). Per guidance that is not C:H, but the stale byte is folded into HW-visible TX power, so confidentiality is Low rather than None.\nI:N - The defect is a pure out-of-bounds read; the derived value only updates in-bounds cal.tssi_target and a clamped TX ALC register write, with no OOB write, UAF, or control-flow hijack primitive.\nA:H - The wrong VHT rate-power byte can swing TX ALC compensation across its full clamped range on a live SoftAP, which can severely disrupt or deny wireless availability for associated clients, and under the required upward rule this is scored High."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/wireless/mediatek/mt76/mt76x0/phy.c"
                    ],
                    "versions": [
                        {
                            "version": "ba45841ca5eb29245f9c9f452a39586d9d68bc12",
                            "lessThan": "bf425c5d7ef6fb4083c1e0d46440f886127b5ee5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ba45841ca5eb29245f9c9f452a39586d9d68bc12",
                            "lessThan": "6e1abc51c945663bddebfa1beb9590ff5b250eb7",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/wireless/mediatek/mt76/mt76x0/phy.c"
                    ],
                    "versions": [
                        {
                            "version": "6.2",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.2",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2.3",
                            "lessThanOrEqual": "6.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "6.2.3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "6.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/bf425c5d7ef6fb4083c1e0d46440f886127b5ee5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6e1abc51c945663bddebfa1beb9590ff5b250eb7"
                }
            ],
            "title": "wifi: mt76: mt76x0: fix oob access in mt76x0_phy_get_target_power",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}