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]
                
            References
                    Configurations
                    Configuration 1 (hide)
| 
 | 
History
                    No history.
Information
                Published : 2024-10-21 12:15
Updated : 2024-10-24 14:33
NVD link : CVE-2024-47714
Mitre link : CVE-2024-47714
CVE.ORG link : CVE-2024-47714
JSON object : View
Products Affected
                linux
- linux_kernel
CWE
                
                    
                        
                        CWE-787
                        
            Out-of-bounds Write
