Skip to content

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

MediumCVSS 5.5 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Linux KernelUbuntuDebian

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]

Upgrade path

6 packages: 6 fixed.

PackageAffectedFixed inStatus
debian/linux(Debian 13) < 6.11.2-1 6.11.2-1 Fixed
debian/linux(Debian 14) < 6.11.2-1 6.11.2-1 Fixed
Linux kernel < 6.6.54; < 6.10.13; < 6.11.2; < 6.12 +8 more 6.6.54, 6.10.13, 6.11.2, 6.12, 8f51fc8a9e2fd96363d8ec3f4ee4b78dd64754e3, 50d87e3b70980abc090676b6b4703fcbd96221f9, 33954930870c18ec549e4bca0eeff43e252cb740, f98c3de92bb05dac4a4969df8a4595ed380b4604 Fixed
Microsoft azure linux < 6.6.56.1-5 6.6.56.1-5 Fixed
ubuntu/linux(Ubuntu 24.04) < 6.8.0-54.56 6.8.0-54.56 Fixed
ubuntu/linux-raspi(Ubuntu 24.04) < 6.8.0-1019.23 6.8.0-1019.23 Fixed

Affected products

ProductAffected versionsFixed in
Microsoft azure linux < 6.6.56.1-5 6.6.56.1-5
debian/linux(Debian:13) < 6.11.2-1 6.11.2-1
debian/linux(Debian:14) < 6.11.2-1 6.11.2-1
Linux kernel >= 98686cd21624c75a043e96812beadddf4f6f48e5, < 50d87e3b70980abc090676b6b4703fcbd96221f9 50d87e3b70980abc090676b6b4703fcbd96221f9
Linux kernel >= 98686cd21624c75a043e96812beadddf4f6f48e5, < 8f51fc8a9e2fd96363d8ec3f4ee4b78dd64754e3 8f51fc8a9e2fd96363d8ec3f4ee4b78dd64754e3
Linux kernel >= 98686cd21624c75a043e96812beadddf4f6f48e5, < 33954930870c18ec549e4bca0eeff43e252cb740 33954930870c18ec549e4bca0eeff43e252cb740
Linux kernel >= 98686cd21624c75a043e96812beadddf4f6f48e5, < f98c3de92bb05dac4a4969df8a4595ed380b4604 f98c3de92bb05dac4a4969df8a4595ed380b4604
Linux kernel = 6.2 No fix listed
Linux kernel < 6.6.54 6.6.54
Linux kernel < 6.10.13 6.10.13
Linux kernel < 6.11.2 6.11.2
Linux kernel < 6.12 6.12
ubuntu/linux(Ubuntu:24.04) < 6.8.0-54.56 6.8.0-54.56
ubuntu/linux-raspi(Ubuntu:24.04) < 6.8.0-1019.23 6.8.0-1019.23
Linux kernel >= 6.2, < 6.6.54 6.6.54
Linux kernel >= 6.7, < 6.10.13 6.10.13
Linux kernel >= 6.11, < 6.11.2 6.11.2

References