Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 89029a85482cbcf68026a89fc974e8f6898d6b37 before 2801477c36a19be4f549fe60e54995f03b0ea7b9; affected 89029a85482cbcf68026a89fc974e8f6898d6b37 before 38f4d6323bcd65e41a691432eddabd2b03acdeee; affected 89029a85482cbcf68026a89fc974e8f6898d6b37 before 25f753f7f620955a8a51e63e445d8b9076c51396; affected 89029a85482cbcf68026a89fc974e8f6898d6b37 before e63c6291ecddf94769ab91f9d8cdb6ca939f7fc6; affected 89029a85482cbcf68026a89fc974e8f6898d6b37 before 85bd46ab7674b6d357f9a14791352c65fb09eee9; affected 89029a85482cbcf68026a89fc974e8f6898d6b37 before 6ce78d04c7ea4b66838941b5a4232dd1ee0e2cc7; affected 89029a85482cbcf68026a89fc974e8f6898d6b37 before ecfd1a07e78c31d81322fb2d81dc468081cc3004; affected 89029a85482cbcf68026a89fc974e8f6898d6b37 before 4a2f4be532e3ea4e2b536e411793a05aaa51af25 |
| Linux / Linux | affected 5.8; unaffected 0 before 5.8; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/2801477c36a19be4f549fe60e54995f03b0ea7b9
- https://git.kernel.org/stable/c/38f4d6323bcd65e41a691432eddabd2b03acdeee
- https://git.kernel.org/stable/c/25f753f7f620955a8a51e63e445d8b9076c51396
- https://git.kernel.org/stable/c/e63c6291ecddf94769ab91f9d8cdb6ca939f7fc6
- https://git.kernel.org/stable/c/85bd46ab7674b6d357f9a14791352c65fb09eee9
- https://git.kernel.org/stable/c/6ce78d04c7ea4b66838941b5a4232dd1ee0e2cc7
- https://git.kernel.org/stable/c/ecfd1a07e78c31d81322fb2d81dc468081cc3004
- https://git.kernel.org/stable/c/4a2f4be532e3ea4e2b536e411793a05aaa51af25