Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7996: use hweight16 to get correct tx antenna
The chainmask is u16 so using hweight8 cannot get correct tx_ant. Without this patch, the tx_ant of band 2 would be -1 and lead to the following issue: BUG: KASAN: stack-out-of-bounds in mt7996_mcu_add_sta+0x12e0/0x16e0 [mt7996e]
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 98686cd21624c75a043e96812beadddf4f6f48e5, < 50d87e3b70980abc090676b6b4703fcbd96221f9; >= 98686cd21624c75a043e96812beadddf4f6f48e5, < 8f51fc8a9e2fd96363d8ec3f4ee4b78dd64754e3; >= 98686cd21624c75a043e96812beadddf4f6f48e5, < 33954930870c18ec549e4bca0eeff43e252cb740; >= 98686cd21624c75a043e96812beadddf4f6f48e5, < f98c3de92bb05dac4a4969df8a4595ed380b4604 |
| Linux | Linux | 6.2 |
References
- https://git.kernel.org/stable/c/33954930870c18ec549e4bca0eeff43e252cb740Patch
- https://git.kernel.org/stable/c/50d87e3b70980abc090676b6b4703fcbd96221f9Patch
- https://git.kernel.org/stable/c/8f51fc8a9e2fd96363d8ec3f4ee4b78dd64754e3Patch
- https://git.kernel.org/stable/c/f98c3de92bb05dac4a4969df8a4595ed380b4604Patch
Timeline
- Published
- Oct 21, 2024
- Last modified
- Aug 4, 2026
- NVD status
- Modified