← CVE Intelligence

CVE-2024-47714

wifi: mt76: mt7996: use hweight16 to get correct tx antenna PUBLISHED

Description (CNA)

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]

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 98686cd21624c75a043e96812beadddf4f6f48e5 before 50d87e3b70980abc090676b6b4703fcbd96221f9; affected 98686cd21624c75a043e96812beadddf4f6f48e5 before 8f51fc8a9e2fd96363d8ec3f4ee4b78dd64754e3; affected 98686cd21624c75a043e96812beadddf4f6f48e5 before 33954930870c18ec549e4bca0eeff43e252cb740; affected 98686cd21624c75a043e96812beadddf4f6f48e5 before f98c3de92bb05dac4a4969df8a4595ed380b4604
Linux / Linuxaffected 6.2; unaffected 0 before 6.2; unaffected 6.6.54 through 6.6.*; unaffected 6.10.13 through 6.10.*; unaffected 6.11.2 through 6.11.*; unaffected 6.12 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.