# CVE-2024-47714: wifi: mt76: mt7996: use hweight16 to get correct tx antenna

- Severity: High 7.6 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2024-10-21T11:53:46.090Z
- Modified: 2026-08-05T11:39:40.668Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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]

(As written by CVE List.)

## Affected

- Linux Linux: from 98686cd21624c75a043e96812beadddf4f6f48e5 before 50d87e3b70980abc090676b6b4703fcbd96221f9; from 98686cd21624c75a043e96812beadddf4f6f48e5 before 8f51fc8a9e2fd96363d8ec3f4ee4b78dd64754e3; from 98686cd21624c75a043e96812beadddf4f6f48e5 before 33954930870c18ec549e4bca0eeff43e252cb740; from 98686cd21624c75a043e96812beadddf4f6f48e5 before f98c3de92bb05dac4a4969df8a4595ed380b4604; 6.2 (not affected: before 6.2; from 6.6.54 up to 6.6.*; from 6.10.13 up to 6.10.*; from 6.11.2 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.2 before 6.6.54; from 6.7 before 6.10.13; from 6.11 before 6.11.2

## Every score

- Linux: CVSS:3.1 7.6 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/50d87e3b70980abc090676b6b4703fcbd96221f9> (patch)
- <https://git.kernel.org/stable/c/8f51fc8a9e2fd96363d8ec3f4ee4b78dd64754e3> (patch)
- <https://git.kernel.org/stable/c/33954930870c18ec549e4bca0eeff43e252cb740> (patch)
- <https://git.kernel.org/stable/c/f98c3de92bb05dac4a4969df8a4595ed380b4604> (patch)

## Sources

- CVE List: [CVE-2024-47714](https://www.cve.org/CVERecord?id=CVE-2024-47714), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-47714](https://nvd.nist.gov/vuln/detail/CVE-2024-47714), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-47714 · Whole record: https://cve.day/CVE-2024-47714.json · Rebuilt by cve.day 2026-11-25T22:58:46.981Z
