Linux
wifi: cfg80211: validate EHT MLE before MLD ID read
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: validate EHT MLE before MLD ID read cfg80211_gen_new_ie() copies ML probe response elements from the parent frame when the parent EHT multi-link element has an MLD ID matching the nontransmitted BSSID index. The code only checked that the extension element had more than one byte before calling ieee80211_mle_get_mld_id(). That helper assumes a BASIC MLE with enough common info and documents that callers must first use ieee80211_mle_type_ok(). Attack chain: malicious AP sends a short EHT MLE in an MBSSID beacon. cfg80211_inform_bss_frame_data() stores the copied IE buffer. cfg80211_parse_mbssid_data() builds the nontransmitted BSS IE. cfg80211_gen_new_ie() sees the EHT MLE in the parent frame. ieee80211_mle_get_mld_id() then reads past the IE boundary. Validate the MLE type and size before reading the MLD ID. This matches the contract required by the MLE helper and rejects the short element before any internal MLE fields are accessed.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 61dcfa8c2a8f6c53ce77b2c832b82990754b2aa9, < 584657c5fc58d7a840623a2fa06331c9661dd0f1
- >= 61dcfa8c2a8f6c53ce77b2c832b82990754b2aa9, < 3b0505e43da8fb5b2a7994c3c3604e5a74692154
- >= 61dcfa8c2a8f6c53ce77b2c832b82990754b2aa9, < 74e27cd1d98b546fdb276008a83708d062339661
Fixed in 584657c5fc58d7a840623a2fa06331c9661dd0f1, 3b0505e43da8fb5b2a7994c3c3604e5a74692154, 74e27cd1d98b546fdb276008a83708d062339661
- 6.14
Fixed in 0, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 584657c5fc58d7a840623a2fa06331c9661dd0f1 or 3b0505e43da8fb5b2a7994c3c3604e5a74692154 or 74e27cd1d98b546fdb276008a83708d062339661 or later.
Upgrade Linux to 0 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.