wifi: mt76: mt7996: fix out-of-bounds link array access in mt7996_tx()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: fix out-of-bounds link array access in mt7996_tx() When mac80211 leaves the link unspecified, mt7996_tx() substitutes the primary link id of the station or vif. That value is IEEE80211_LINK_UNSPECIFIED (0xf) until the first link has been added, and it is then used unchecked to index vif->link_conf[], mvif->mt76.link[] and sta->link[], all of which hold IEEE80211_MLD_MAX_NUM_LINKS (15) entries. Clamp the primary link id to the default link before using it, and use the clamped value for the link_sta fallback as well.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 1609b014aa29f9a2bf3aaa93f71de4a06725845e · fixed in 637bb99cc766a858d744905e46638459ca128b6c; From 1609b014aa29f9a2bf3aaa93f71de4a06725845e · fixed in aff81505a84d27f83b4db8e039e813930cb23c2c; From 1609b014aa29f9a2bf3aaa93f71de4a06725845e · fixed in 4330a0ef9f75a54fde3548432a9a698f06bab635
- Linux Linux
6.18
- KernelLinux
From 6.18.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6