Skip to content
CVE PROGRAM SOURCE RECORD7.6 High

CVE-2024-47714

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

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]

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 98686cd21624c75a043e96812beadddf4f6f48e5 to < 50d87e3b70980abc090676b6b4703fcbd96221f9affected
  • 98686cd21624c75a043e96812beadddf4f6f48e5 to < 8f51fc8a9e2fd96363d8ec3f4ee4b78dd64754e3affected
  • 98686cd21624c75a043e96812beadddf4f6f48e5 to < 33954930870c18ec549e4bca0eeff43e252cb740affected
  • 98686cd21624c75a043e96812beadddf4f6f48e5 to < f98c3de92bb05dac4a4969df8a4595ed380b4604affected

Linux Linux

Default version status: affected

  • 6.2affected
  • 0 to < 6.2unaffected
  • 6.6.54 to ≤ 6.6.*unaffected
  • 6.10.13 to ≤ 6.10.*unaffected
  • 6.11.2 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References