{"id":"CVE-2024-47714","summary":"wifi: mt76: mt7996: use hweight16 to get correct tx antenna","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7996: use hweight16 to get correct tx antenna\n\nThe chainmask is u16 so using hweight8 cannot get correct tx_ant.\nWithout this patch, the tx_ant of band 2 would be -1 and lead to the\nfollowing issue:\nBUG: KASAN: stack-out-of-bounds in mt7996_mcu_add_sta+0x12e0/0x16e0 [mt7996e]","modified":"2026-04-16T04:30:55.635467208Z","published":"2024-10-21T11:53:46.090Z","related":["SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47714.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/33954930870c18ec549e4bca0eeff43e252cb740"},{"type":"WEB","url":"https://git.kernel.org/stable/c/50d87e3b70980abc090676b6b4703fcbd96221f9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f51fc8a9e2fd96363d8ec3f4ee4b78dd64754e3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f98c3de92bb05dac4a4969df8a4595ed380b4604"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47714.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47714"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"98686cd21624c75a043e96812beadddf4f6f48e5"},{"fixed":"50d87e3b70980abc090676b6b4703fcbd96221f9"},{"fixed":"8f51fc8a9e2fd96363d8ec3f4ee4b78dd64754e3"},{"fixed":"33954930870c18ec549e4bca0eeff43e252cb740"},{"fixed":"f98c3de92bb05dac4a4969df8a4595ed380b4604"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47714.json"}}],"schema_version":"1.7.5"}