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 txant. Without this patch, the txant of band 2 would be -1 and lead to the following issue: BUG: KASAN: stack-out-of-bounds in mt7996mcuadd_sta+0x12e0/0x16e0 [mt7996e]
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47714.json"
}[
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2024-47714-7387e61a",
"target": {
"file": "drivers/net/wireless/mediatek/mt76/mt7996/mcu.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"159004360100912840071302657615334084824",
"128380800075308697662858893476862377124",
"190413027023346224024461031430652767893",
"146567822279477750118102717988351959823"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f98c3de92bb05dac4a4969df8a4595ed380b4604"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47714.json"