Linux
wifi: mt76: mt7915: avoid nss underflow in mt7915_mcu_get_sta_nss
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7915: avoid nss underflow in mt7915_mcu_get_sta_nss If a peer's VHT/HE MCS map has no supported spatial stream (all fields 0x3), the loop exits with nss == 0 and the function returned (u8)-1 (255), which was then written into the firmware sta_rec_bf beamforming fields. Clamp the result to 0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 89029a85482cbcf68026a89fc974e8f6898d6b37, < 2801477c36a19be4f549fe60e54995f03b0ea7b9
- >= 89029a85482cbcf68026a89fc974e8f6898d6b37, < 38f4d6323bcd65e41a691432eddabd2b03acdeee
- >= 89029a85482cbcf68026a89fc974e8f6898d6b37, < 25f753f7f620955a8a51e63e445d8b9076c51396
- >= 89029a85482cbcf68026a89fc974e8f6898d6b37, < e63c6291ecddf94769ab91f9d8cdb6ca939f7fc6
- >= 89029a85482cbcf68026a89fc974e8f6898d6b37, < 85bd46ab7674b6d357f9a14791352c65fb09eee9
- >= 89029a85482cbcf68026a89fc974e8f6898d6b37, < 6ce78d04c7ea4b66838941b5a4232dd1ee0e2cc7
- >= 89029a85482cbcf68026a89fc974e8f6898d6b37, < ecfd1a07e78c31d81322fb2d81dc468081cc3004
- >= 89029a85482cbcf68026a89fc974e8f6898d6b37, < 4a2f4be532e3ea4e2b536e411793a05aaa51af25
Fixed in 2801477c36a19be4f549fe60e54995f03b0ea7b9, 38f4d6323bcd65e41a691432eddabd2b03acdeee, 25f753f7f620955a8a51e63e445d8b9076c51396, e63c6291ecddf94769ab91f9d8cdb6ca939f7fc6, 85bd46ab7674b6d357f9a14791352c65fb09eee9, 6ce78d04c7ea4b66838941b5a4232dd1ee0e2cc7, ecfd1a07e78c31d81322fb2d81dc468081cc3004, 4a2f4be532e3ea4e2b536e411793a05aaa51af25
- 5.8
Fixed in 0, 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6, 7.3
Mitigation
Upgrade Linux to 2801477c36a19be4f549fe60e54995f03b0ea7b9 or 38f4d6323bcd65e41a691432eddabd2b03acdeee or 25f753f7f620955a8a51e63e445d8b9076c51396 or e63c6291ecddf94769ab91f9d8cdb6ca939f7fc6 or 85bd46ab7674b6d357f9a14791352c65fb09eee9 or 6ce78d04c7ea4b66838941b5a4232dd1ee0e2cc7 or ecfd1a07e78c31d81322fb2d81dc468081cc3004 or 4a2f4be532e3ea4e2b536e411793a05aaa51af25 or later.
Upgrade Linux to 0 or 5.10.270 or 5.15.221 or 6.1.188 or 6.6.157 or 6.12.110 or 6.18.52 or 7.2.6 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.